From dccb16e192ef68bc957151dd15f139448c73eb43 Mon Sep 17 00:00:00 2001 From: Zalko <88582103+Zalk0@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:46:03 +0200 Subject: [PATCH] fix:correct lint errors --- src/components/itemsGrid.tsx | 2 +- src/components/navbar.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/itemsGrid.tsx b/src/components/itemsGrid.tsx index e2d226f..d071551 100644 --- a/src/components/itemsGrid.tsx +++ b/src/components/itemsGrid.tsx @@ -65,7 +65,7 @@ const ItemsGrid = ({ categories }: ItemsGridProps) => { (item) => // Supprime l'item tee shirt orga dans le cas où le prix orga n'est pas pris !(item.key === 'orga-tshirt' && !orgaPrice) && ( -
select(item)}> +
select(item)}> void; children?: React.ReactNode; + onBack?: () => void; } -const Navbar = ({ back = null, onBack = null, children = null }: PropTypes) => { +const Navbar: FC = ({ back = null, children = null, onBack = null }) => { const [time, setTime] = useState(moment().format('H[h]mm')); const name = useSelector((state: State) => state.login.name); const serverOnline = useSelector((state: State) => state.server.internetConnected);