diff --git a/extensions/tags/js/src/common/components/TagSelectionModal.tsx b/extensions/tags/js/src/common/components/TagSelectionModal.tsx index 76ea5fa455..1f67f788c6 100644 --- a/extensions/tags/js/src/common/components/TagSelectionModal.tsx +++ b/extensions/tags/js/src/common/components/TagSelectionModal.tsx @@ -155,7 +155,10 @@ export default class TagSelectionModal< // 1 CJK character's width equals to 2ch, // so we count 1 CJK character as 2 characters. - const inputWidth = Math.max(this.lengthWithCJK(extractText(this.getInstruction(primaryCount, secondaryCount))), this.lengthWithCJK(this.filter())); + const inputWidth = Math.max( + this.lengthWithCJK(extractText(this.getInstruction(primaryCount, secondaryCount))), + this.lengthWithCJK(this.filter()) + ); return [