diff --git a/Frontend/components/Navigation.tsx b/Frontend/components/Navigation.tsx index 0669a20..6c90993 100644 --- a/Frontend/components/Navigation.tsx +++ b/Frontend/components/Navigation.tsx @@ -2,8 +2,8 @@ import Logo from "@/components/Logo"; import React, { useState } from "react"; -import { Menu } from "@styled-icons/entypo/Menu"; import Link from "next/link"; +import Icon from "./Icon"; function Navigation({ isUserLoggedIn }: { isUserLoggedIn: boolean }) { const [checked, setChecked] = useState(); @@ -23,11 +23,12 @@ function Navigation({ isUserLoggedIn }: { isUserLoggedIn: boolean }) { {/* Navbar */}
-
diff --git a/Frontend/components/PriceCard.tsx b/Frontend/components/PriceCard.tsx index 94717c6..8a0736c 100644 --- a/Frontend/components/PriceCard.tsx +++ b/Frontend/components/PriceCard.tsx @@ -1,8 +1,8 @@ import { Price, Product, SourceModal } from "@/types"; -import { Check } from "@styled-icons/entypo/Check"; import { createCheckoutSession, isAuthenticated } from "@/app/(auth)/actions"; import { toast } from "react-toastify"; import { useRouter } from "next/navigation"; +import Icon from "./Icon"; export default function PriceCard({ product, @@ -79,7 +79,7 @@ export default function PriceCard({