Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Warning] Function components cannot be given refs - Notifications #1363

Open
tiagofilipenunes opened this issue Jul 16, 2024 · 0 comments
Open

Comments

@tiagofilipenunes
Copy link
Collaborator

Got this warning when running the app locally:

Warning: Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?
Check the render method of `PopChild`.
NotificationItem@http://localhost:3000/src/libs/notifications/NotificationsProvider.tsx:62:28
PopChildMeasure@http://localhost:3000/node_modules/.vite/deps/framer-motion.js?v=e956dd51:6468:23
PopChild@http://localhost:3000/node_modules/.vite/deps/framer-motion.js?v=e956dd51:6489:18
PresenceChild@http://localhost:3000/node_modules/.vite/deps/framer-motion.js?v=e956dd51:6524:21
AnimatePresence@http://localhost:3000/node_modules/.vite/deps/framer-motion.js?v=e956dd51:6584:23
ul
NotificationAlerts@http://localhost:3000/src/libs/notifications/NotificationsProvider.tsx:27:20
App@http://localhost:3000/src/App.tsx:33:34
MatchInner@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:670:20
CatchBoundaryImpl@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:407:5
CatchBoundary@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:389:26
SafeFragment@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:632:52
Match@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:634:15
CatchBoundaryImpl@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:407:5
CatchBoundary@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:389:26
Matches@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:609:18
RouterProvider@http://localhost:3000/node_modules/.vite/deps/@tanstack_react-router.js?v=e956dd51:821:24
LazyMotion@http://localhost:3000/node_modules/.vite/deps/framer-motion.js?v=e956dd51:6738:20
LazyMotion@http://localhost:3000/src/libs/motion/index.tsx:24:27
CarbonWagmiProvider@http://localhost:3000/src/libs/wagmi/WagmiProvider.tsx:57:36
Hydrate@http://localhost:3000/node_modules/.vite/deps/wagmi.js?v=e956dd51:112:71
WagmiProvider@http://localhost:3000/node_modules/.vite/deps/wagmi.js?v=e956dd51:136:32
WagmiReactWrapper@http://localhost:3000/src/libs/wagmi/WagmiReactWrapper.tsx:20:34
StoreProvider@http://localhost:3000/src/store/StoreProvider.tsx:83:30
QueryClientProvider@http://localhost:3000/node_modules/.vite/deps/chunk-WZQNURLG.js?v=e956dd51:2674:27
QueryProvider@http://localhost:3000/src/libs/queries/QueryProvider.tsx:32:30
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

No branches or pull requests

1 participant