From f87100138bd8a1248ef4072fc53b75b841f1a511 Mon Sep 17 00:00:00 2001 From: M1kola Date: Thu, 13 Jul 2023 15:55:09 +0300 Subject: [PATCH] task files --- src/utils/helper.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/utils/helper.js b/src/utils/helper.js index bfe7f050..31c787e2 100644 --- a/src/utils/helper.js +++ b/src/utils/helper.js @@ -45,10 +45,7 @@ export const urlHasParams = (url) => export const urlForLocal = (url) => process.env.NODE_ENV === "development" ? `https://itguild.info${url}` : url; -export const backendImg = (url) => - process.env.NODE_ENV === "development" - ? `https://back.itguild.info${url}` - : url; +export const backendImg = (url) => `https://back.itguild.info${url}` export function scrollToForm() { window.scrollTo({