diff --git a/apps/mobile/src/components/ui/image/Image.tsx b/apps/mobile/src/components/ui/image/Image.tsx index 18b77ea44..12291ebb3 100644 --- a/apps/mobile/src/components/ui/image/Image.tsx +++ b/apps/mobile/src/components/ui/image/Image.tsx @@ -5,8 +5,12 @@ import type { } from "expo-image" import { Image as ExpoImage } from "expo-image" import { forwardRef, useCallback, useMemo, useState } from "react" +import type { ViewStyle } from "react-native" +import { Text, View } from "react-native" import { useColor } from "react-native-uikit-colors" +import { ErrorBoundary } from "@/src/components/common/ErrorBoundary" + import { getAllSources } from "./utils" export type ImageProps = Omit & { @@ -57,23 +61,37 @@ export const Image = forwardRef( } return ( - + ( + + {error.message} + + )} + > + + ) }, )