From dcad549eb50dfbd9a86499a46ded3d44acf03f4c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Mon, 2 Dec 2024 09:50:17 -0600 Subject: [PATCH] Show error --- src/screens/Subscriptions/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/screens/Subscriptions/index.tsx b/src/screens/Subscriptions/index.tsx index 86b16d82b4..a84a1645a0 100644 --- a/src/screens/Subscriptions/index.tsx +++ b/src/screens/Subscriptions/index.tsx @@ -19,7 +19,7 @@ import { NativePurchaseRestricted, } from '#/state/purchases/types' import {CenteredView} from '#/view/com/util/Views' -import {atoms as a, tokens, useBreakpoints,useTheme} from '#/alf' +import {atoms as a, tokens, useBreakpoints, useTheme} from '#/alf' import {Admonition} from '#/components/Admonition' import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {useDialogControl} from '#/components/Dialog' @@ -73,7 +73,9 @@ export function Subscriptions(_props: ScreenProps) { {purchases.status === 'loading' || loading ? ( ) : purchases.status === 'error' ? ( - + + {purchases.error?.message ?? 'Something went wrong.'} + ) : ( )}