Skip to content

Commit

Permalink
Merge pull request #13 from lizaklimova/main-page
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
lizaklimova authored Jan 25, 2024
2 parents fb5b8d5 + d3a2a1c commit 8c908f9
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/components/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ const Main: FC = () => {
icon: '👨🏻‍🍳',
style: {
borderRadius: '10px',
background,
color: mainText,
background: '#8BAA36',
color: '#fff',
},
};

setTimeout(() => {
toast(`Welcome, ${name} 💚`, welcomeToasterOpts);
}, 1000);
toast(`Welcome, ${name} 💚`, welcomeToasterOpts);
}
}, [name, isLoggedIn, isPageReloaded, background, mainText]);
}, [name, isLoggedIn, isPageReloaded]);

return <div>{/* це сторінка, де хіро */}</div>;
};
Expand Down

0 comments on commit 8c908f9

Please sign in to comment.