Skip to content

Commit

Permalink
fix: toast on join
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Mar 4, 2025
1 parent 2b8e308 commit 460a134
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified public/main.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/home/CreateWorkspaceModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ async function create() {
emit('create', name);
emit('close');
Toast.success('Workspace created');
Toast.success('Created workspace successfully!');
} catch (err) {
console.error(err);
Toast.error(`Error creating workspace: ${err}`);
Expand Down
2 changes: 1 addition & 1 deletion src/components/home/JoinWorkspaceModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async function join() {
emit('join', opts.value.name);
emit('close');
Toast.success('Workspace created');
Toast.success('Joined workspace successfully!');
} catch (err) {
console.error(err);
Toast.error(`Error joining workspace: ${err}`);
Expand Down

0 comments on commit 460a134

Please sign in to comment.