Skip to content

Commit 9c1a19c

Browse files
committed
fix: add missing poll option validation error text
1 parent 5490371 commit 9c1a19c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/Poll/PollCreationDialog/OptionFieldSet.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const OptionFieldSet = () => {
2222

2323
const knownValidationErrors = useMemo<Record<string, string>>(
2424
() => ({
25+
'Option already exists': t('Option already exists'),
2526
'Option is empty': t('Option is empty'),
2627
}),
2728
[t],

0 commit comments

Comments
 (0)