diff --git a/pages/api/files.ts b/pages/api/files.ts index 0c6a36593..ab95b6be8 100644 --- a/pages/api/files.ts +++ b/pages/api/files.ts @@ -1,6 +1,6 @@ import {utapi} from '../../src/server/uploadthing' -export default async function handler(req:any, res:any) { +export default async function handler(_:any, res:any) { const data = await utapi.listFiles(); res.status(200).json(data); } \ No newline at end of file diff --git a/src/hemsedal24/bilder.module.css b/src/hemsedal24/bilder.module.css index 5ab4ec003..873556e53 100644 --- a/src/hemsedal24/bilder.module.css +++ b/src/hemsedal24/bilder.module.css @@ -188,7 +188,7 @@ html { @media (max-width: 500px) { .embla__slide { max-width: 120%; - flex: 0 0 100%; + flex: 0 0 75%; } .embla { width: 100%; diff --git a/src/hemsedal24/components/Files.tsx b/src/hemsedal24/components/Files.tsx index f6bd2a8e5..22db0d527 100644 --- a/src/hemsedal24/components/Files.tsx +++ b/src/hemsedal24/components/Files.tsx @@ -20,7 +20,6 @@ export default function Files({ data }: any) { }; const [emblaRef] = useEmblaCarousel({loop: true, skipSnaps:true, startIndex:startIndex}); - console.log(data) return (