about summary refs log tree commit diff
path: root/src/view/screens
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-04-25 20:45:59 -0500
committerGitHub <noreply@github.com>2023-04-25 20:45:59 -0500
commitae895155fd2ca317afa59066633c12e8968e9e7c (patch)
treea83e86b16f48416b800782aaae902e571b87bfaa /src/view/screens
parent8f3915e0a595fd4cc995ad8c31fed1ea4f5c3f37 (diff)
downloadvoidsky-ae895155fd2ca317afa59066633c12e8968e9e7c.tar.zst
Fix to error screen and postthread loading state (#540)
* Fix loading state on postthread

* Improve error screen rendering

* Dark mode exclamation in error screen

* Fix lint
Diffstat (limited to 'src/view/screens')
-rw-r--r--src/view/screens/Profile.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/view/screens/Profile.tsx b/src/view/screens/Profile.tsx
index cd6c72ff5..4e4e3040b 100644
--- a/src/view/screens/Profile.tsx
+++ b/src/view/screens/Profile.tsx
@@ -145,8 +145,7 @@ export const ProfileScreen = withAuthRequired(
           <ErrorScreen
             testID="profileErrorScreen"
             title="Failed to load profile"
-            message={`There was an issue when attempting to load ${route.params.name}`}
-            details={uiState.profile.error}
+            message={uiState.profile.error}
             onPressTryAgain={onPressTryAgain}
           />
         ) : uiState.profile.hasLoaded ? (