From 572c762f91b106b5e386580fdeb226c0b6accda0 Mon Sep 17 00:00:00 2001 From: TaprootFreak <142087526+TaprootFreak@users.noreply.github.com> Date: Thu, 12 Mar 2026 13:24:44 +0100 Subject: [PATCH] fix: add widget build to PR CI and remove unused imports Add widget build step to PR CI workflow to catch frontend build errors before merging. Remove unused KycChangeAddressData and KycChangeNameData imports from kyc.screen.tsx that caused the DEV build to fail. --- .github/workflows/pr.yml | 3 +++ src/screens/kyc.screen.tsx | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a4de996f..032ab47f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -41,3 +41,6 @@ jobs: env: REACT_APP_BUILD_ID: ${{ github.run_number }}-${{ github.run_id }} run: npm run build:dev + + - name: Build widget + run: npm run widget:dev diff --git a/src/screens/kyc.screen.tsx b/src/screens/kyc.screen.tsx index 143728ac..60d751b4 100644 --- a/src/screens/kyc.screen.tsx +++ b/src/screens/kyc.screen.tsx @@ -9,8 +9,6 @@ import { GoodsType, KycAddress, KycBeneficialData, - KycChangeAddressData, - KycChangeNameData, KycContactData, KycFinancialOption, KycFinancialQuestion,