From 25f7ca518cff8f0dc286657a6c39e3bda708ccd3 Mon Sep 17 00:00:00 2001 From: Will Laderer Date: Sat, 4 Apr 2026 10:57:13 -0700 Subject: [PATCH] Fix typo in getDelimiter space/hyphen index comparison --- src/components/data-entry/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/data-entry/utils.tsx b/src/components/data-entry/utils.tsx index 9b782344..05ad5c6d 100644 --- a/src/components/data-entry/utils.tsx +++ b/src/components/data-entry/utils.tsx @@ -130,7 +130,7 @@ export const getDelimiter = (input: string): RegExp | undefined => { space && space.index && (!comma || (comma.index && comma.index > space.index)) && - (!hyphen || (hyphen.index && space.index > space.index)) + (!hyphen || (hyphen.index && space.index > hyphen.index)) ) { return new RegExp(/\s/); } else {