From 95596dd2d7541f0f1f219594c60f33e998b5f59e Mon Sep 17 00:00:00 2001 From: Vivek Vishal Date: Sun, 1 Sep 2024 19:05:10 +0530 Subject: [PATCH] update error message to include gif Signed-off-by: Vivek Vishal --- src/sections/Community/Web-based-from/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sections/Community/Web-based-from/index.js b/src/sections/Community/Web-based-from/index.js index 1a7ea5b1d1a9..e2517b5ed2ba 100644 --- a/src/sections/Community/Web-based-from/index.js +++ b/src/sections/Community/Web-based-from/index.js @@ -30,7 +30,7 @@ const validatePictureUrl = (value) => { const allowedImageExtensions = ["jpg", "jpeg", "png", "webp", "svg", "gif"]; const extension = value.split(".").pop().toLowerCase(); if (!allowedImageExtensions.includes(extension)) { - error = "URL must point to an image file (jpg, jpeg, png, svg or webp)."; + error = "URL must point to an image file (jpg, jpeg, png, svg, webp or gif)."; } } catch (_) { error = "Please enter a URL to an image file.";