pancake-frontend
pancake-frontend copied to clipboard
chore: Remove warnings
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
, addedproposal
andvotes
to the dependency array of theuseEffect
hook. - In
usePCSX.ts
, addedsetX
to the dependency array of theuseEffect
hook. - In
useSwitchNetwork.ts
, changed destructuring ofrouter.query
to omitchainId
with a different variable name. - In
PCSXBanner.tsx
, removedisDesktop
from the destructured values ofuseMatchBreakpoints()
.
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}