diff --git a/src/components/Brand/BrandsList.tsx b/src/components/Brand/BrandsList.tsx index 5aea045..1977c20 100644 --- a/src/components/Brand/BrandsList.tsx +++ b/src/components/Brand/BrandsList.tsx @@ -1,6 +1,6 @@ "use client"; import { FC, useState } from "react"; -import { brandType } from "../../types/brandType"; +import { brandType } from "src/types/brandType"; import Brand from "./brand"; import AddBrand from "./addBrand"; import { addBrand, deleteBrand, editBrand } from "../../actions/brandActions"; diff --git a/src/components/Brand/brand.tsx b/src/components/Brand/brand.tsx index 49f0e25..53769ca 100644 --- a/src/components/Brand/brand.tsx +++ b/src/components/Brand/brand.tsx @@ -1,6 +1,6 @@ "use client"; import { ChangeEvent, FC, useState } from "react"; -import { brandType } from "../../types/brandType"; +import { brandType } from "src/types/brandType"; interface Props { brand: brandType; changeBrandName: (id: number, name: string) => void; diff --git a/src/components/FeaturesSection/index.tsx b/src/components/FeaturesSection/index.tsx index 9103e4e..7d9da37 100644 --- a/src/components/FeaturesSection/index.tsx +++ b/src/components/FeaturesSection/index.tsx @@ -1,5 +1,3 @@ -import Link from "next/link"; - export default function FeaturesSection() { return ( diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 6219d1e..3e6c405 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -1,5 +1,4 @@ import { Box, Flex, Link, Heading } from "@chakra-ui/react"; -import NextLink from "next/link"; const Header: React.FC = () => { return ( diff --git a/src/components/HomeContent/index.tsx b/src/components/HomeContent/index.tsx index 82f78b7..b38a21d 100644 --- a/src/components/HomeContent/index.tsx +++ b/src/components/HomeContent/index.tsx @@ -1,4 +1,3 @@ -import Link from "next/link"; import Header from "../Header"; import Hero from "../Hero"; import FeaturesSection from "../FeaturesSection"; diff --git a/src/components/Navbar/index.tsx b/src/components/Navbar/index.tsx index bd837f4..94f1241 100644 --- a/src/components/Navbar/index.tsx +++ b/src/components/Navbar/index.tsx @@ -8,6 +8,7 @@ import { MenuItems, } from "@headlessui/react"; import { Bars3Icon, BellIcon, XMarkIcon } from "@heroicons/react/24/outline"; +import Image from "next/image"; const navigation = [ { name: "Home", href: "/", current: true }, @@ -17,7 +18,7 @@ const navigation = [ { name: "Brands", href: "/Brands", current: false }, ]; -function classNames(...classes) { +function classNames(...classes: unknown[]) { return classes.filter(Boolean).join(" "); } @@ -43,7 +44,7 @@ export default function Example() {