π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show Space invite toast after post confirmation
Anand Baburajan3ce1d4bad44d
diff --git a/web/apps/space/src/pages/app/index.tsx b/web/apps/space/src/pages/app/index.tsxindex 2d1c9b4b22..ea95ce5d14 100644--- a/web/apps/space/src/pages/app/index.tsx+++ b/web/apps/space/src/pages/app/index.tsx@@ -33,8 +33,6 @@ import { spaceAppBackgroundColor as homeBackground } from "styles/colors";import { useSpaceRouter } from "utils/route-transitions";import { spaceRoutes } from "utils/routes";-const inviteFriendsToastDelayMs = 3000;-const Page: React.FC = () => {const router = useSpaceRouter();const {@@ -79,12 +77,7 @@ const Page: React.FC = () => {? localFeedPosts[0].id: undefined;useEffect(() => {- if (!firstPostID) return;- const timer = window.setTimeout(- () => setShowInviteFriendsToast(true),- inviteFriendsToastDelayMs,- );- return () => window.clearTimeout(timer);+ if (firstPostID) setShowInviteFriendsToast(true);}, [firstPostID]);useEffect(() => {