diff --git a/app/routes/_main.album.$id.$imageId.tsx b/app/routes/_main.album.$id.$imageId.tsx
index e2d49be..e8eede7 100644
--- a/app/routes/_main.album.$id.$imageId.tsx
+++ b/app/routes/_main.album.$id.$imageId.tsx
@@ -18,20 +18,12 @@ import {
CarouselNext,
CarouselPrevious,
} from '~/components/ui/carousel';
-import {
- Drawer,
- DrawerContent,
- DrawerHeader,
- DrawerTitle,
- DrawerTrigger,
-} from '~/components/ui/drawer';
import { getImage } from '~/lib/data.server';
import type { AlbumLoader } from './_main.album.$id';
export async function loader({ params }: LoaderFunctionArgs) {
const albumId = Number(params.id);
const imageId = Number(params.imageId);
- //const album = getAlbum(albumId);
const image = await getImage(imageId);
if (!image) throw new Response('Not found', { status: 404 });
return {
@@ -42,48 +34,6 @@ export async function loader({ params }: LoaderFunctionArgs) {
};
}
-function InfoDrawer({
- image,
-}: {
- image: {
- taken_by_name: string | null;
- taken_at: Date;
- mimetype: string | null;
- exif_data: any | null;
- };
-}) {
- return (
- <>
-