Skip to content

Commit

Permalink
add fitch
Browse files Browse the repository at this point in the history
  • Loading branch information
myroslav111 committed Sep 5, 2022
1 parent a167f01 commit 184fe38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Form/Form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Form() {

const handleSubmit = async e => {
// e.preventDefault()
if (!en || !ru) return toast.warn('🦄 you should add word');
if (!en || !ru) return toast.warn('🦄 ви повинні додати слово');
setSucces(true);
let idCard = nanoid();
if (!email) {
Expand All @@ -49,7 +49,7 @@ function Form() {
});
}
// console.log(objUser);
toast.success("🚀 We added you's word!");
toast.success('🚀 ми додали слово до ваших карток!');
setEn('');
setRu('');
setSucces(false);
Expand Down

0 comments on commit 184fe38

Please sign in to comment.