Skip to content

Commit

Permalink
chore: default sep to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
akulsr0 committed Jul 18, 2024
1 parent 93b535f commit 7c80ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/propTypesSort.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ function fixPropTypesSort(
);

const sourceCodeText = getText(context);
let separator = null;
let separator = '';
source = nodes.reduceRight((acc, attr, index) => {
const sortedAttr = sortedAttributes[index];
const commentNode = commentnodeMap.get(sortedAttr);
Expand Down

0 comments on commit 7c80ba8

Please sign in to comment.