You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a project on NextJS 13 and tried to extract a component to a file.
I had a 'use client' at the top of the file but after extracting it, the extension added the import to the extracted component and broke the first line that was supposed to be "use client".
Before:
'use client'
// my imports
After:
import { ExtractedComponent ] from './ExtractedComponent'
;('use client')
// my imports
The text was updated successfully, but these errors were encountered:
I am working on a project on NextJS 13 and tried to extract a component to a file.
I had a 'use client' at the top of the file but after extracting it, the extension added the import to the extracted component and broke the first line that was supposed to be "use client".
Before:
After:
The text was updated successfully, but these errors were encountered: