From 416b96988d8c1baa344c60db58beda05a3001493 Mon Sep 17 00:00:00 2001 From: Warren Chan Date: Sun, 6 Oct 2024 16:42:36 -0400 Subject: [PATCH] remove unnecessary bracket --- src/views/Home.jsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/views/Home.jsx b/src/views/Home.jsx index 6b8007c..b3ec0de 100644 --- a/src/views/Home.jsx +++ b/src/views/Home.jsx @@ -17,10 +17,7 @@ export function Home({ data, setListPath, userId, userEmail }) { try { if (currentLists.includes(listName.toLowerCase())) { - toast.error( - 'The list already exists. Please enter a different name.', - {}, - ); + toast.error('The list already exists. Please enter a different name.'); return; }