From f721bb359da54b42dc8852c444719706831c7aa5 Mon Sep 17 00:00:00 2001 From: Tiebe Vercoutter Date: Thu, 19 May 2022 18:21:33 +0200 Subject: [PATCH] prettier --- .../views/projectViews/CreateProjectPage/CreateProjectPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/projectViews/CreateProjectPage/CreateProjectPage.tsx b/frontend/src/views/projectViews/CreateProjectPage/CreateProjectPage.tsx index 5966122c6..1857065dd 100644 --- a/frontend/src/views/projectViews/CreateProjectPage/CreateProjectPage.tsx +++ b/frontend/src/views/projectViews/CreateProjectPage/CreateProjectPage.tsx @@ -105,7 +105,7 @@ export default function CreateProjectPage() { return; } - if (infoUrl !== "" && (!infoUrl.startsWith("https://") && !infoUrl.startsWith("http://"))) { + if (infoUrl !== "" && !infoUrl.startsWith("https://") && !infoUrl.startsWith("http://")) { toast.error("InfoUrl should start with https:// or http://", { toastId: "createProjectBadUrl", });