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

Button in polkadot-ui/react thows a console error: Received NaN for the cy attribute. #357

Open
Tbaut opened this issue Sep 18, 2024 · 0 comments

Comments

@Tbaut
Copy link
Contributor

Tbaut commented Sep 18, 2024

there must be some Number(something) when this "something" is undefined
This is for a CX and CY attribute of Button it seems.

Happening on Delegit for a couple weeks already, so nothing new.

image

Warning: Received NaN for the cy attribute. If this is expected, cast the value to a string.
circle
svg
div
U2@http://localhost:5173/node_modules/.vite/deps/@polkadot-ui_react.js?v=8f1e6067:1061:10
button
_c@http://localhost:5173/src/components/ui/button.tsx:48:8
SlotClone<@http://localhost:5173/node_modules/.vite/deps/chunk-HRRHN4B2.js?v=8f1e6067:52:38
Slot<@http://localhost:5173/node_modules/.vite/deps/chunk-HRRHN4B2.js?v=8f1e6067:33:38
Primitive</Node<@http://localhost:5173/node_modules/.vite/deps/chunk-QPTM34IG.js?v=8f1e6067:41:44
SlotClone<@http://localhost:5173/node_modules/.vite/deps/chunk-HRRHN4B2.js?v=8f1e6067:52:38
Slot<@http://localhost:5173/node_modules/.vite/deps/chunk-HRRHN4B2.js?v=8f1e6067:33:38
Primitive</Node<@http://localhost:5173/node_modules/.vite/deps/chunk-QPTM34IG.js?v=8f1e6067:41:44
PopperAnchor<@http://localhost:5173/node_modules/.vite/deps/chunk-HTXVZKXI.js?v=8f1e6067:1872:59

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