Reduce snackbar description length
This commit is contained in:
@@ -16,7 +16,7 @@ import { awaitConfirmation } from '@/modules/core/utils/AwaitableDialog.tsx';
|
|||||||
import { TranslationKey } from '@/Base.types.ts';
|
import { TranslationKey } from '@/Base.types.ts';
|
||||||
import { defaultPromiseErrorHandler } from '@/lib/DefaultPromiseErrorHandler.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> = {
|
const SNACKBAR_VARIANT_TO_TRANSLATION_KEY: Record<VariantType, TranslationKey> = {
|
||||||
default: 'global.label.info',
|
default: 'global.label.info',
|
||||||
|
|||||||
Reference in New Issue
Block a user