From db8012c73ba6710d7cabbb9dccdd63458f83b705 Mon Sep 17 00:00:00 2001 From: YUCLing Date: Sat, 23 Nov 2024 14:30:49 +0800 Subject: [PATCH] chore: code format --- .../tags/js/src/common/components/TagSelectionModal.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 [