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

isSelecting give undefined #4

Open
raihan-ramadhan opened this issue Sep 27, 2023 · 1 comment
Open

isSelecting give undefined #4

raihan-ramadhan opened this issue Sep 27, 2023 · 1 comment

Comments

@raihan-ramadhan
Copy link

Hey, i tried copy TextMenu.jsx code const MenuBar = ({ editor, isSelecting }) => {, my question is why there is isSelecting prop? you never give isSelecting prop when you call this TextMenu.jsx component, it's not built-in props like children right?

because mine always give undefined value

https://github.com/Prototypr/prototypr-frontend/blob/337f4b2b7efa8c3fc00e494f70387ee813ae2b1a/components/Editor/Menus/TextMenu.jsx#L45

@GraemeFulton
Copy link
Member

This is old, but I will look into it when I get chance. I've not seen any error, maybe it's just a warning?

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

2 participants