diff --git a/packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx b/packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx index 2f3f1dce..e9f2a95a 100644 --- a/packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx +++ b/packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx @@ -27,7 +27,7 @@ const JustWeb3Config: JustWeb3ProviderConfig = { domain: import.meta.env.STORYBOOK_APP_DOMAIN, signInTtl: 1000 * 60 * 60 * 24, }, - backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, + // backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, networks: [ { chainId: 1, @@ -40,7 +40,7 @@ const JustWeb3Config: JustWeb3ProviderConfig = { ], openOnWalletConnect: false, allowedEns: 'all', - // dev: import.meta.env.STORYBOOK_APP_DEV === 'true', + dev: import.meta.env.STORYBOOK_APP_DEV === 'true', plugins: [EFPPlugin], }; @@ -106,6 +106,9 @@ export const Example = () => { + + + = ({ } }; - if (isEnsAuthLoading || (connectedEns && isRecordsPending)) { + if (isEnsAuthLoading || (connectedEns?.ens && isRecordsPending)) { return ( = ({ ); } - if (!connectedEns) { + if (!connectedEns?.ens) { if (isConnected && address) { return ( = ({ key={`display-record-members-${fullSubname}-${subname}`} className={styles.memberCard} > - + ))}