fix(studio): the full page notice names no number, so it needs no plural forms

This commit is contained in:
Maurice
2026-10-24 09:35:30 +02:00
parent e2c00ba18b
commit 5b4030f86b
28 changed files with 28 additions and 29 deletions
@@ -1,4 +1,3 @@
import { MAX_SPREAD_ELEMENTS } from '@trek/shared';
import { useEffect, useRef } from 'react';
import { useTranslation } from '../../i18n';
import { useStudioStore } from '../../store/studioStore';
@@ -18,7 +17,7 @@ export function StudioNotices() {
useEffect(() => {
if (refused === seen.current) return;
seen.current = refused;
toast.warning(t('journey.studio.pageFull', { max: MAX_SPREAD_ELEMENTS }));
toast.warning(t('journey.studio.pageFull'));
}, [refused, toast, t]);
return null;
}