Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: do not show "Return to..." button on email confirmed screen

thecodrrc67a9171b482
diff --git a/apps/web/src/views/email-confirmed.js b/apps/web/src/views/email-confirmed.js
index 1384be597..a771014cb 100644
--- a/apps/web/src/views/email-confirmed.js
+++ b/apps/web/src/views/email-confirmed.js
@@ -6,7 +6,6 @@ import { useQueryParams } from "../navigation";
function EmailConfirmed() {
const [{ userId }] = useQueryParams();
-
useEffect(() => {
if (!userId) window.location.href = "/";
}, [userId]);
@@ -33,16 +32,9 @@ function EmailConfirmed() {
<Icon.Success color="primary" size={32} sx={{ mr: 2 }} /> Email
confirmed!
</Text>
-
- <Button
- variant="secondary"
- mt={1}
- onClick={() => {
- window.location.href = "/";
- }}
- >
- Return to Notesnook
- </Button>
+ <Text variant="body" mt={2}>
+ You can safely close this window and return to Notesnook.
+ </Text>
</Flex>
</Flex>
</ThemeProvider>