Skip to content

Commit

Permalink
fix: issue with missing uuid function for react
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Feb 27, 2024
1 parent d34baad commit 9964192
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/components/scripts/post-build/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ module.exports = (tmp) => {
from: '={true}',
to: ''
},
{
from: '{ cls }',
to: '{ cls, uuid }'
},
{
from: '} from "../../utils"',
to: ', filterPassingProps } from "../../utils"'
Expand All @@ -99,10 +103,6 @@ module.exports = (tmp) => {
{
from: /<\/>/g,
to: '</React.Fragment>'
},
{
from: '{ cls }',
to: '{ cls, uuid }'
}
];

Expand Down

0 comments on commit 9964192

Please sign in to comment.