pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

chore: Remove warnings

Open memoyil opened this issue 3 months ago • 2 comments


PR-Codex overview

This PR focuses on updating dependencies in various components and hooks to improve the state management and functionality related to voting and network switching.

Detailed summary

  • In Vote.tsx, added proposal and votes to the dependency array of the useEffect hook.
  • In usePCSX.ts, added setX to the dependency array of the useEffect hook.
  • In useSwitchNetwork.ts, changed destructuring of router.query to omit chainId with a different variable name.
  • In PCSXBanner.tsx, removed isDesktop from the destructured values of useMatchBreakpoints().

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

memoyil avatar Oct 31 '24 14:10 memoyil