Show error
This commit is contained in:
@@ -73,7 +73,9 @@ export function Subscriptions(_props: ScreenProps) {
|
||||
{purchases.status === 'loading' || loading ? (
|
||||
<Loader />
|
||||
) : purchases.status === 'error' ? (
|
||||
<View />
|
||||
<Admonition type="error">
|
||||
{purchases.error?.message ?? 'Something went wrong.'}
|
||||
</Admonition>
|
||||
) : (
|
||||
<Core state={purchases} restricted={restricted} />
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user