diff --git a/packages/passport/sdk-sample-app/src/components/PassportMethods.tsx b/packages/passport/sdk-sample-app/src/components/PassportMethods.tsx index 29be9c87aa..b986a977e7 100644 --- a/packages/passport/sdk-sample-app/src/components/PassportMethods.tsx +++ b/packages/passport/sdk-sample-app/src/components/PassportMethods.tsx @@ -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, @@ -96,7 +96,7 @@ function PassportMethods() { > Link Wallet - diff --git a/packages/passport/sdk-sample-app/src/context/ImmutableProvider.tsx b/packages/passport/sdk-sample-app/src/context/ImmutableProvider.tsx index 3b5251424b..7b64a025de 100644 --- a/packages/passport/sdk-sample-app/src/context/ImmutableProvider.tsx +++ b/packages/passport/sdk-sample-app/src/context/ImmutableProvider.tsx @@ -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({ @@ -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,