Skip to content

Commit

Permalink
feat: fix message v3 (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Space-Bean authored Oct 8, 2024
2 parents c31c0a5 + 395143b commit 86e6550
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions projects/ui/src/components/App/SdkProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import useSetting from '~/hooks/app/useSetting';
import { SUBGRAPH_ENVIRONMENTS } from '~/graph/endpoints';
import { useEthersProvider } from '~/util/wagmi/ethersAdapter';
import { useSigner } from '~/hooks/ledger/useSigner';
import { useDynamicSeeds } from '~/hooks/sdk';

const IS_DEVELOPMENT_ENV = process.env.NODE_ENV !== 'production';

Expand Down Expand Up @@ -108,15 +107,15 @@ export const BeanstalkSDKContext = createContext<

function BeanstalkSDKProvider({ children }: { children: React.ReactNode }) {
const sdk = useBeanstalkSdkContext();
const ready = useDynamicSeeds(sdk);
// const ready = useDynamicSeeds(sdk);

return (
<>
{ready && (
<BeanstalkSDKContext.Provider value={sdk}>
{children}
</BeanstalkSDKContext.Provider>
)}
{/* {ready && ( */}
<BeanstalkSDKContext.Provider value={sdk}>
{children}
</BeanstalkSDKContext.Provider>
{/* )} */}
</>
);
}
Expand Down

0 comments on commit 86e6550

Please sign in to comment.