π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Restore staff deep-link auto-fetch after refresh
Neeraj Guptabc41bd1058b0
diff --git a/infra/staff/src/App.tsx b/infra/staff/src/App.tsxindex 9a9955a54f..23df634ab7 100644--- a/infra/staff/src/App.tsx+++ b/infra/staff/src/App.tsx@@ -178,15 +178,15 @@ export const App: React.FC = () => {]);useEffect(() => {- const { email, token } = urlCredentials;- if (email && token) {+ const { email } = urlCredentials;+ if (email && authToken) {queueMicrotask(() => {- fetchData(email, token).catch((error: unknown) =>+ fetchData(email, authToken).catch((error: unknown) =>console.error("Fetch data error:", error),);});}- }, [fetchData, urlCredentials]);+ }, [authToken, fetchData, urlCredentials]);const handleSubmit = (event: React.SubmitEvent<HTMLFormElement>) => {event.preventDefault();