Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
liady committed Jan 4, 2024
1 parent 25249b6 commit 604ed9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion editor/src/components/canvas/canvas-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1568,7 +1568,7 @@ export function duplicate(

return {
...success,
imports: mergeImports(underlyingFilePath, success.imports, insertResult.importsToAdd),
imports: success.imports,
topLevelElements: applyUtopiaJSXComponentsChanges(
success.topLevelElements,
utopiaComponents,
Expand Down
2 changes: 1 addition & 1 deletion editor/src/components/editor/actions/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2227,7 +2227,7 @@ export const UPDATE_FNS = {
const updatedImports = mergeImports(
underlyingFilePath,
success.imports,
mergeImports(underlyingFilePath, action.importsToAdd, withInsertedElement.importsToAdd),
action.importsToAdd,
)
return {
...success,
Expand Down

0 comments on commit 604ed9c

Please sign in to comment.