diff --git a/client/www/components/dash/Auth.tsx b/client/www/components/dash/Auth.tsx index 2f0c0b249..1bb0bbeae 100644 --- a/client/www/components/dash/Auth.tsx +++ b/client/www/components/dash/Auth.tsx @@ -200,7 +200,7 @@ export default function Auth(props: { })); }; return ( -
- {JSON.stringify(dashResponse.error, null, '\t')}{' '} -- ) : null} -
+ We had some trouble loading your app. Please ping us on{' '} + + discord + {' '} + with details. +
+ +init
?
-
+ We didn't receive an app ID. Double check that you passed an{' '}
+ appId
paramater in your init
. If you
+ continue experiencing issues, ping us on Discord.
+
+ {user ? ( + <> + You're logged in as {user.email}.{' '} + > + ) : null} + We tried to access your app but couldn't. +
++ Are you sure you have access? Contact the app owner, or sign out + and log into a different account: +
+ ++ We had some trouble connect to Instant's backend. Please ping us + on{' '} + + discord + {' '} + with details. +
+ + {
- const node = e.currentTarget;
- const selection = window.getSelection();
- const range = document.createRange();
- range.selectNodeContents(node);
- selection?.removeAllRanges();
- selection?.addRange(range);
- }}
- >
- {app.id ?? <> >}
-
+ {
+ const node = e.currentTarget;
+ const selection = window.getSelection();
+ const range = document.createRange();
+ range.selectNodeContents(node);
+ selection?.removeAllRanges();
+ selection?.addRange(range);
+ }}
+ >
+ {appId}
+