Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed May 18, 2023
1 parent 1b5c433 commit 0335410
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
5 changes: 1 addition & 4 deletions src/components/masa-interface/pages/gallery/index.tsx
Expand Up @@ -96,10 +96,7 @@ const useTabs = () => {

const GalleryContainer = () => {
const pages = [Gallery];
const {
useModalSize,
fullScreenGallery,
} = useMasa();
const { useModalSize, fullScreenGallery } = useMasa();

useModalSize?.(
fullScreenGallery
Expand Down
8 changes: 2 additions & 6 deletions src/provider/hooks.ts
Expand Up @@ -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 ({
Expand Down
2 changes: 1 addition & 1 deletion src/provider/masa-context-provider.tsx
Expand Up @@ -289,7 +289,7 @@ export const MasaContextProvider = ({
};

void loadMasa();
}, [arweaveConfig, environmentName, verbose,currentNetwork, signer]);
}, [arweaveConfig, environmentName, verbose, currentNetwork, signer]);

const context: MasaShape = {
// masa instance
Expand Down
1 change: 0 additions & 1 deletion src/provider/use-account-state.ts
Expand Up @@ -77,7 +77,6 @@ export const useAccountState = ({
invalidateGreen({ masa, signer, walletAddress }),
invalidateCustomSBTs(),
invalidateCustomSBTContracts(),

]);
}
};
Expand Down

0 comments on commit 0335410

Please sign in to comment.