Reduce snackbar description length

This commit is contained in:
schroda
2025-02-10 23:23:40 +01:00
parent a45338647e
commit 94b4bdfa10

View File

@@ -16,7 +16,7 @@ import { awaitConfirmation } from '@/modules/core/utils/AwaitableDialog.tsx';
import { TranslationKey } from '@/Base.types.ts';
import { defaultPromiseErrorHandler } from '@/lib/DefaultPromiseErrorHandler.ts';
const MAX_DESCRIPTION_LENGTH = 255;
const MAX_DESCRIPTION_LENGTH = 75;
const SNACKBAR_VARIANT_TO_TRANSLATION_KEY: Record<VariantType, TranslationKey> = {
default: 'global.label.info',