Skip to content

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

web: fix `cannot read property instance of undefined`

Abdullah Attab494efb8cea8
diff --git a/apps/web/src/components/auth-container/index.jsx b/apps/web/src/components/auth-container/index.jsx
index c38662a1a..4052b079e 100644
--- a/apps/web/src/components/auth-container/index.jsx
+++ b/apps/web/src/components/auth-container/index.jsx
@@ -206,7 +206,7 @@ function AuthContainer(props) {
>
<Text variant={"subBody"}>
{version.status === "fulfilled" &&
- version.value.instance !== "default" ? (
+ version.value?.instance !== "default" ? (
<>
{strings.usingInstance(
version.value.instance,