Skip to content

Commit

Permalink
improve message and first load handling
Browse files Browse the repository at this point in the history
  • Loading branch information
renardeinside committed Nov 25, 2024
1 parent b73a63c commit f7cfbba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const Editor = () => {
if (!dbExists) {
// Display welcome toast
const timer = setTimeout(() => {
toast(<span>💜 Welcome to Strophe, your minimalistic notes</span>);
toast(<span> Welcome to Strophe. Add some sparkle to your notes.</span>);
}, 100);

return () => clearTimeout(timer);
Expand Down
2 changes: 1 addition & 1 deletion tests/init.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ test("on the first load, a welcome toast should be visible", async ({
newtab,
}) => {
const toast = await newtab.waitForSelector(
'text="💜 Welcome to Strophe, your minimalistic notes"'
'text=" Welcome to Strophe. Add some sparkle to your notes."'
);
expect(toast).not.toBeNull();
});

0 comments on commit f7cfbba

Please sign in to comment.