diff --git a/src/app/App.tsx b/src/app/App.tsx index d814587..bf28490 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2,6 +2,8 @@ import WineList from "./_components/WineList"; import FilterStatus from "./_components/FilterState"; import CreateCountry from "./_components/admin/CreateCountry"; import AllCountries from "./_components/AllCountries"; +import CreateRegion from "./_components/admin/CreateRegion"; +import AllRegions from "./_components/AllRegions"; export default function App() { return ( @@ -10,6 +12,8 @@ export default function App() { + + ); } diff --git a/src/app/_components/AllCountries.tsx b/src/app/_components/AllCountries.tsx index 93ec4f4..5fdbd62 100644 --- a/src/app/_components/AllCountries.tsx +++ b/src/app/_components/AllCountries.tsx @@ -1,5 +1,4 @@ -import { Delete, LucideDelete } from "lucide-react"; -import Image from "next/image"; +import { Delete } from "lucide-react"; import { deleteCountry } from "~/server/actions/deleteCountry"; import { db } from "~/server/db"; @@ -9,8 +8,8 @@ export default async function AllCountries() {

All Countries:

{countries.map((country) => ( -
-

{country.name}

+
+

{country.name}