From 63e26cdc00973c4ddbcd16089e368e174e2b4ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aykut=20Karda=C5=9F?= Date: Sun, 3 Mar 2024 22:19:54 +0300 Subject: [PATCH] fix: type error --- components/model-compare.tsx | 2 +- components/original-compare.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/model-compare.tsx b/components/model-compare.tsx index b83e8ed..756371c 100644 --- a/components/model-compare.tsx +++ b/components/model-compare.tsx @@ -7,7 +7,7 @@ import { import CompareImageLabel from "./compare-image-label"; interface ModelCompareProps { - originalImage: string; + originalImage: string | null; position: number; setPosition: (position: number) => void; modelOne: any; diff --git a/components/original-compare.tsx b/components/original-compare.tsx index c8e1d7d..5c584ca 100644 --- a/components/original-compare.tsx +++ b/components/original-compare.tsx @@ -6,7 +6,7 @@ import { import CompareImageLabel from "./compare-image-label"; interface OriginalCompareProps { - originalImage: string; + originalImage: string | null; position: number; setPosition: (position: number) => void; modelOne: any;