From 033541062a2ea34c6867297983ffec6b43201d9d Mon Sep 17 00:00:00 2001 From: hide-on-bush-x Date: Thu, 18 May 2023 09:15:16 -0300 Subject: [PATCH] Lint fix --- src/components/masa-interface/pages/gallery/index.tsx | 5 +---- src/provider/hooks.ts | 8 ++------ src/provider/masa-context-provider.tsx | 2 +- src/provider/use-account-state.ts | 1 - 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/components/masa-interface/pages/gallery/index.tsx b/src/components/masa-interface/pages/gallery/index.tsx index 7f8283c3..27ea7363 100644 --- a/src/components/masa-interface/pages/gallery/index.tsx +++ b/src/components/masa-interface/pages/gallery/index.tsx @@ -96,10 +96,7 @@ const useTabs = () => { const GalleryContainer = () => { const pages = [Gallery]; - const { - useModalSize, - fullScreenGallery, - } = useMasa(); + const { useModalSize, fullScreenGallery } = useMasa(); useModalSize?.( fullScreenGallery diff --git a/src/provider/hooks.ts b/src/provider/hooks.ts index 95536264..42e25082 100644 --- a/src/provider/hooks.ts +++ b/src/provider/hooks.ts @@ -124,15 +124,11 @@ export const invalidateCreditScores = async ({ }; export const invalidateCustomSBTs = async () => { - await queryClient.invalidateQueries( - getQueryKeys()['custom-sbt']() - ); + await queryClient.invalidateQueries(getQueryKeys()['custom-sbt']()); }; export const invalidateCustomSBTContracts = async () => { - await queryClient.invalidateQueries( - getQueryKeys()['custom-sbt-contracts']() - ); + await queryClient.invalidateQueries(getQueryKeys()['custom-sbt-contracts']()); }; export const invalidateGreen = async ({ diff --git a/src/provider/masa-context-provider.tsx b/src/provider/masa-context-provider.tsx index de6a7960..105f6d65 100644 --- a/src/provider/masa-context-provider.tsx +++ b/src/provider/masa-context-provider.tsx @@ -289,7 +289,7 @@ export const MasaContextProvider = ({ }; void loadMasa(); - }, [arweaveConfig, environmentName, verbose,currentNetwork, signer]); + }, [arweaveConfig, environmentName, verbose, currentNetwork, signer]); const context: MasaShape = { // masa instance diff --git a/src/provider/use-account-state.ts b/src/provider/use-account-state.ts index 20e367a1..1aeb20e9 100644 --- a/src/provider/use-account-state.ts +++ b/src/provider/use-account-state.ts @@ -77,7 +77,6 @@ export const useAccountState = ({ invalidateGreen({ masa, signer, walletAddress }), invalidateCustomSBTs(), invalidateCustomSBTContracts(), - ]); } };