diff --git a/.github/workflows/system-dapp-build.yml b/.github/workflows/system-dapp-build.yml index 458b81228..427799c5c 100644 --- a/.github/workflows/system-dapp-build.yml +++ b/.github/workflows/system-dapp-build.yml @@ -32,3 +32,9 @@ jobs: cd ./system-contract-dapp-playground npm install npm run build + if npm run lint -- --quiet; then + echo "No warnings found" + else + echo "Warnings found in the code" + exit 1 # Exit with a non-zero status code to fail the CI check + fi diff --git a/system-contract-dapp-playground/src/components/contract-interaction/hts/shared/hooks/useToastSuccessful.tsx b/system-contract-dapp-playground/src/components/contract-interaction/hts/shared/hooks/useToastSuccessful.tsx index 89929c320..a163ce668 100644 --- a/system-contract-dapp-playground/src/components/contract-interaction/hts/shared/hooks/useToastSuccessful.tsx +++ b/system-contract-dapp-playground/src/components/contract-interaction/hts/shared/hooks/useToastSuccessful.tsx @@ -124,7 +124,7 @@ export const useToastSuccessful = ({ setCurrentTransactionPage, setNonFungibleParamValues, initialTokenAddressesValues, - setTokenTransferParamValues, + // setTokenTransferParamValues, setCryptoTransferParamValues, ]); };