Skip to content

Commit

Permalink
Fix(icons): Replace all dashes in React Icons prepare
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen committed Jan 4, 2024
1 parent c0a678a commit 3a6f9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/icons/scripts/prepareSvgReact.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const toPascalCase = (string) =>
.replace(/\w+/g, (word) => {
return word[0].toUpperCase() + word.slice(1).toLowerCase();
})
.replace('-', '');
.replaceAll('-', '');

const prepareSvgForReactComponent = (srcDir, distDir) => {
fs.readdir(srcDir, (err, files) => {
Expand Down

0 comments on commit 3a6f9f0

Please sign in to comment.