Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shineli1984 committed Dec 10, 2024
1 parent a02eb74 commit a60b8c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ function PassportMethods() {
console.error('zkEvmProvider not found');
return;
}
zkEvmProvider.request({method: "im_addSessionActivity", params: [clientId] });
}
zkEvmProvider.request({ method: 'im_addSessionActivity', params: [clientId] });
};

const handleLinkWalletSubmit = useCallback(async (
type: string,
Expand Down Expand Up @@ -96,7 +96,7 @@ function PassportMethods() {
>
Link Wallet
</WorkflowButton>
<WorkflowButton
<WorkflowButton
disabled={isLoading}
onClick={handleCheckIn}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ const ImmutableContext = createContext<{
passportClient: new Passport(getPassportConfig(EnvironmentNames.DEV)),
environment: EnvironmentNames.DEV,
blockchainData: new BlockchainData(getBlockchainDataConfig(EnvironmentNames.DEV)),
clientId: ''
clientId: '',
});

export function ImmutableProvider({
Expand Down Expand Up @@ -231,7 +231,7 @@ export function ImmutableProvider({
setBlockchainData(new BlockchainData(getBlockchainDataConfig(environment)));
}, [environment]);

const clientId = getPassportConfig(environment).clientId;
const { clientId } = getPassportConfig(environment);

const providerValues = useMemo(() => ({
sdkClient,
Expand Down

0 comments on commit a60b8c0

Please sign in to comment.