Skip to content
New issue

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

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

Already on GitHub? # to your account

react-simplemde-editor - forwardRef issue #1

Closed
cybuhh opened this issue Mar 18, 2024 · 1 comment
Closed

react-simplemde-editor - forwardRef issue #1

cybuhh opened this issue Mar 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@cybuhh
Copy link
Owner

cybuhh commented Mar 18, 2024

ref RIP21/react-simplemde-editor#233

app-index.js:35 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 `Controller`.
    at LoadableComponent
    at Controller (webpack-internal:///(app-pages-browser)/./node_modules/react-hook-form/dist/index.esm.mjs:564:37)
    at form
    at NewIssuePage (webpack-internal:///(app-pages-browser)/./app/issues/new/page.tsx:40:128)
    at StaticGenerationSearchParamsBailoutProvider (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/static-generation-searchparams-bailout-provider.js:16:11)
    at InnerLayoutRouter (webpack-internal:///(app-pages-browser)/./node_modules/next/dist/client/components/layout-router.js:242:11)
@cybuhh cybuhh added the bug Something isn't working label Mar 18, 2024
@cybuhh
Copy link
Owner Author

cybuhh commented Mar 18, 2024

fixed f9e3933

@cybuhh cybuhh closed this as completed Mar 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant