aboutsummaryrefslogtreecommitdiffstats
path: root/apps/mobile/components/FullPageError.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/mobile/components/FullPageError.tsx')
-rw-r--r--apps/mobile/components/FullPageError.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/mobile/components/FullPageError.tsx b/apps/mobile/components/FullPageError.tsx
index 57fd62ed..f340d052 100644
--- a/apps/mobile/components/FullPageError.tsx
+++ b/apps/mobile/components/FullPageError.tsx
@@ -1,4 +1,5 @@
-import { Text, View } from "react-native";
+import { View } from "react-native";
+import { Text } from "@/components/ui/Text";
import { Button } from "./ui/Button";
@@ -16,7 +17,9 @@ export default function FullPageError({
Something Went Wrong
</Text>
<Text className="text-foreground"> {error}</Text>
- <Button onPress={() => onRetry()} label="Retry" />
+ <Button onPress={onRetry}>
+ <Text>Retry</Text>
+ </Button>
</View>
</View>
);