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;