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
This commit is contained in:
Hailey 2024-02-08 12:01:36 -08:00 committed by GitHub
parent 4041db31e2
commit 1de1d10cf6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 69 additions and 62 deletions

View file

@ -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}
/>