Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bar committed Oct 17, 2024
1 parent 7675c28 commit e286d88
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ export default function NewProjectModalInputs({ vlabId }: { vlabId: string }) {
const data = await res.json();

if (data.data.exist) {
return Promise.reject(
new Error(`A virtual lab by the name ${name} already exists`)
);
return Promise.reject(new Error(`A project by the name ${name} already exists`));
}
return Promise.resolve();
}
Expand Down

0 comments on commit e286d88

Please sign in to comment.