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", });