diff --git a/app/(authenticated)/images/[id]/page.tsx b/app/(authenticated)/images/[id]/page.tsx index 6a8b772..9899619 100644 --- a/app/(authenticated)/images/[id]/page.tsx +++ b/app/(authenticated)/images/[id]/page.tsx @@ -1,7 +1,5 @@ import {Alert, Breadcrumbs, Button, Link, Stack, Typography} from "@mui/material"; import CardBackground from "@/components/layout/cardBackground"; -import {tagFactory} from "@/src/models/TagModel"; -import TagEditor from "@/components/tags/tagEditor"; import {imageFactory} from "@/src/models/ImageModel"; import ImageEditor from "@/components/images/imageEditor"; diff --git a/app/(authenticated)/images/page.tsx b/app/(authenticated)/images/page.tsx index fc11d18..2b07f14 100644 --- a/app/(authenticated)/images/page.tsx +++ b/app/(authenticated)/images/page.tsx @@ -1,11 +1,9 @@ import {Stack, Breadcrumbs, Link, Typography, Avatar, Button} from "@mui/material"; import CardBackground from "@/components/layout/cardBackground"; -import {tagFactory} from "@/src/models/TagModel"; import {imageFactory} from "@/src/models/ImageModel"; import React from "react"; export default async function TagsPage() { - const tags = await tagFactory().index() const images = await imageFactory().index() return ( diff --git a/components/images/imageEditor.tsx b/components/images/imageEditor.tsx index c696c7c..3472426 100644 --- a/components/images/imageEditor.tsx +++ b/components/images/imageEditor.tsx @@ -1,7 +1,7 @@ 'use client' import {Avatar, Button, Stack, Typography} from "@mui/material"; import {useRouter} from "next/navigation"; -import React, {useState} from "react"; +import React from "react"; import {imageFactory, Image} from "@/src/models/ImageModel"; export type ImageEditorProps = {