diff --git a/app/(tabs)/stats/index.tsx b/app/(tabs)/stats/index.tsx index ae4c09f..9a2033a 100644 --- a/app/(tabs)/stats/index.tsx +++ b/app/(tabs)/stats/index.tsx @@ -53,7 +53,7 @@ export default function Page() { - + diff --git a/components/stats/Widget.tsx b/components/stats/Widget.tsx index b43a64f..153ed65 100644 --- a/components/stats/Widget.tsx +++ b/components/stats/Widget.tsx @@ -6,7 +6,7 @@ interface WidgetProps { title?: string; text?: string; children?: ReactNode; - image?: string; + image?: any; } const Widget: React.FC = ({ title, text, children, image }) => { // Add the 'image' prop to the destructuring @@ -54,7 +54,7 @@ const Widget: React.FC = ({ title, text, children, image }) => { // {!!title && {title}} {!!text && {text}} - {!!image && } + {!!image && } {children} );