Skip to content

Commit

Permalink
remove unnecessary bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchan13 committed Oct 6, 2024
1 parent 149fa17 commit 416b969
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/views/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 416b969

Please sign in to comment.