diff --git a/client/src/app/layout/AppHeader.tsx b/client/src/app/layout/AppHeader.tsx index 83c7825..6f606f8 100644 --- a/client/src/app/layout/AppHeader.tsx +++ b/client/src/app/layout/AppHeader.tsx @@ -156,7 +156,19 @@ export function AppHeader() { {!isMobile && ( - setScheme(s)} /> + + setScheme(s)} /> + )} diff --git a/client/src/features/cart/toggle-cart-icon/ui/ToggleCartIcon.tsx b/client/src/features/cart/toggle-cart-icon/ui/ToggleCartIcon.tsx index ba618e3..db5d786 100644 --- a/client/src/features/cart/toggle-cart-icon/ui/ToggleCartIcon.tsx +++ b/client/src/features/cart/toggle-cart-icon/ui/ToggleCartIcon.tsx @@ -2,7 +2,7 @@ import IconButton from '@mui/material/IconButton' import Tooltip from '@mui/material/Tooltip' import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query' import { useUnit } from 'effector-react' -import { ShoppingCart } from 'lucide-react' +import { CirclePlus, ShoppingCart } from 'lucide-react' import { useNavigate } from 'react-router-dom' import { addToCart, fetchMyCart, removeCartItem } from '@/entities/cart/api/cart-api' import { $user } from '@/shared/model/auth' @@ -63,7 +63,7 @@ export function ToggleCartIcon(props: { - {user ? inCart ? : : } + {user ? (inCart ? : ) : } diff --git a/client/src/pages/home/ui/HomePage.tsx b/client/src/pages/home/ui/HomePage.tsx index 42acf25..70498bd 100644 --- a/client/src/pages/home/ui/HomePage.tsx +++ b/client/src/pages/home/ui/HomePage.tsx @@ -79,11 +79,13 @@ export function HomePage() { Игрушки, сувениры и другие изделия ручной работы. - + + + {productsQuery.isLoading && ( diff --git a/client/src/widgets/navigation-drawer/ui/NavigationDrawer.tsx b/client/src/widgets/navigation-drawer/ui/NavigationDrawer.tsx index 42968b7..2d61e6a 100644 --- a/client/src/widgets/navigation-drawer/ui/NavigationDrawer.tsx +++ b/client/src/widgets/navigation-drawer/ui/NavigationDrawer.tsx @@ -92,8 +92,8 @@ export function NavigationDrawer({ - - + +