about summary refs log tree commit diff
path: root/src/view/com/modals/ProfilePreview.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-02-08 12:01:36 -0800
committerGitHub <noreply@github.com>2024-02-08 12:01:36 -0800
commit1de1d10cf6b823f075112f8f938963c95b7fd3ba (patch)
treefceff40ee49a96167b858938d4dc75790d6b7130 /src/view/com/modals/ProfilePreview.tsx
parent4041db31e23fef216b93aa3b6e312836b7146b90 (diff)
downloadvoidsky-1de1d10cf6b823f075112f8f938963c95b7fd3ba.tar.zst
Fix error screen on native, use `Not Found` for profile errors instead of `Oops!` (#2789)
* remove unnecessary `<CenterView>`

* show back header on profile error

* use `Not Found` instead of `Oops` for account errors

* use `Not Found` instead of `Oops` for account errors
Diffstat (limited to 'src/view/com/modals/ProfilePreview.tsx')
-rw-r--r--src/view/com/modals/ProfilePreview.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/modals/ProfilePreview.tsx b/src/view/com/modals/ProfilePreview.tsx
index 88b0df71d..1764b6b90 100644
--- a/src/view/com/modals/ProfilePreview.tsx
+++ b/src/view/com/modals/ProfilePreview.tsx
@@ -46,7 +46,7 @@ export function Component({did}: {did: string}) {
   if (profileError) {
     return (
       <ErrorScreen
-        title={_(msg`Oops!`)}
+        title={_(msg`Not Found`)}
         message={cleanError(profileError)}
         onPressTryAgain={refetchProfile}
       />