From 821dea9a0f794c169b32dfa7ba10a4cb3572cfab Mon Sep 17 00:00:00 2001 From: Logan Nguyen Date: Mon, 11 Sep 2023 11:47:45 -0500 Subject: [PATCH] a --- .github/workflows/system-dapp-build.yml | 6 ++++++ .../hts/shared/hooks/useToastSuccessful.tsx | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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, ]); };