From 6a07188a4ac8a0e101de4e78ea38a86c87ddbe65 Mon Sep 17 00:00:00 2001 From: Benny Samir Hierl Date: Sun, 20 Feb 2022 11:14:24 +0100 Subject: [PATCH] fix text mapping Signed-off-by: Benny Samir Hierl --- src/components/InputFile.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/InputFile.vue b/src/components/InputFile.vue index eee0ec6..fc510ee 100644 --- a/src/components/InputFile.vue +++ b/src/components/InputFile.vue @@ -92,11 +92,7 @@ const convertBase64 = (file: File): Promise => { var height = image.height var width = image.width if (height > 200 || width > 200) { - setErrors([ - t( - 'components.wishlist-header.main.form.image-file.error-image-size' - ), - ]) + setErrors([t('components.form-wishlist.image-file.error-image-size')]) return resolve('') } resolve(fileReader.result as string)