Skip to content

fix: replace deprecated createPrivyWagmiConfig and fix imports in owner-portal#32

Open
PranavGadge01 wants to merge 1 commit intoc2siorg:mainfrom
PranavGadge01:fix/owner-portal-privy-deps
Open

fix: replace deprecated createPrivyWagmiConfig and fix imports in owner-portal#32
PranavGadge01 wants to merge 1 commit intoc2siorg:mainfrom
PranavGadge01:fix/owner-portal-privy-deps

Conversation

@PranavGadge01
Copy link
Copy Markdown

Summary

Fixes #31

Problem

owner-portal fails to start with two errors:

  1. createPrivyWagmiConfig no longer exists in newer @privy-io/wagmi versions
  2. No QueryClient set error due to wrong provider nesting order

Changes

  • Replaced createPrivyWagmiConfig with createConfig from @privy-io/wagmi
  • Removed duplicate imports for WagmiProvider, QueryClient and sepolia
  • Moved QueryClientProvider to outermost wrapper
  • Updated privy package versions for compatibility

Testing

  • owner-portal starts successfully with npm run dev
  • Wallet connects successfully
  • No console errors related to privy/wagmi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: owner-portal fails to start due to deprecated createPrivyWagmiConfig and duplicate imports

1 participant