From 01124ce8cae7c53da84c1ed3fa780e2fde5aafa1 Mon Sep 17 00:00:00 2001 From: Armen <35077035+Armen9393@users.noreply.github.com> Date: Wed, 26 Aug 2020 15:22:30 +0300 Subject: [PATCH] Ott 245 favorite error modal (#102) --- public/images/exclamation.svg | 5 +++ public/index.html | 1 + src/config/lexics/indexLexics.tsx | 1 + src/features/HomePage/index.tsx | 1 - src/features/Modal/index.tsx | 38 ++++++++++++++++++++++ src/features/Modal/styled.tsx | 32 ++++++++++++++++++ src/features/OutsideClick/hooks/index.tsx | 2 +- src/features/ProfileCard/hooks.tsx | 4 ++- src/features/UserFavorites/hooks/index.tsx | 14 +++++++- src/features/UserFavorites/index.tsx | 24 ++++++++++++-- src/features/UserFavorites/styled.tsx | 23 +++++++++++++ src/requests/modifyUserSportFavs.tsx | 18 ++++++---- 12 files changed, 151 insertions(+), 12 deletions(-) create mode 100644 public/images/exclamation.svg create mode 100644 src/features/Modal/index.tsx create mode 100644 src/features/Modal/styled.tsx diff --git a/public/images/exclamation.svg b/public/images/exclamation.svg new file mode 100644 index 00000000..7d6e8e64 --- /dev/null +++ b/public/images/exclamation.svg @@ -0,0 +1,5 @@ + diff --git a/public/index.html b/public/index.html index 382252e4..eb0f51de 100644 --- a/public/index.html +++ b/public/index.html @@ -11,6 +11,7 @@
+