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
Fix move to file refactor issue with React components
Added proper check for SymbolFlags.Module before calling addImportForModuleSymbol to prevent debug assertion failure when moving non-module symbols like React components.
Co-authored-by: RyanCavanaugh <[email protected]>
Copy file name to clipboardExpand all lines: src/services/refactors/helpers.ts
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -75,18 +75,18 @@ export function addTargetFileImports(
75
75
* but sometimes it fails because of unresolved imports from files, or when a source file is not available for the target file (in this case when creating a new file).
76
76
* So in that case, fall back to copying the import verbatim.
0 commit comments