Skip to content

Commit

Permalink
fix: toast text
Browse files Browse the repository at this point in the history
  • Loading branch information
trobonox committed Aug 14, 2023
1 parent 37599ae commit 29158fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ export const fileUploadHandler = async (workspace_id: string | undefined, files:
private: true,
}),
{
loading: "Uploading your file...",
loading: "Uploading...",
success: (val) => {
uploaded = val;
return <span>Upload successful!</span>;
},
error: <span>Theme could not be saved</span>
error: <span>File could not be uploaded!</span>
}
)
if (!uploaded) return;
Expand Down

0 comments on commit 29158fb

Please sign in to comment.