Skip to content

Commit

Permalink
fix: replace useBuiltIns with useSpread to spread react props instead…
Browse files Browse the repository at this point in the history
… of using Object.assign
  • Loading branch information
TristanWatanabe committed Mar 15, 2023
1 parent 6913c18 commit ca8f5dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/generators/migrate-converged-pkg/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ describe('migrate-converged-pkg generator', () => {
transform: {
react: {
runtime: 'classic',
useBuiltins: true,
useSpread: true,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion tools/generators/migrate-converged-pkg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ const templates = {
transform: {
react: {
runtime: 'classic',
useBuiltins: true,
useSpread: true,
},
},
},
Expand Down

0 comments on commit ca8f5dd

Please sign in to comment.