From dcf08c83f6425580f8ada835a30b2f79b6a7a822 Mon Sep 17 00:00:00 2001 From: adueck Date: Sun, 16 Oct 2022 08:17:36 +0500 Subject: [PATCH] fix logic --- website/src/screens/Wordlist.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/screens/Wordlist.tsx b/website/src/screens/Wordlist.tsx index eec2aa2..7272098 100644 --- a/website/src/screens/Wordlist.tsx +++ b/website/src/screens/Wordlist.tsx @@ -257,7 +257,7 @@ function Wordlist({ options, wordlist, isolateEntry, optionsDispatch, user }: { />} } - if (!(user?.level === "student")) { + if (!user || user.level !== "student") { return
Wordlist - LingDocs Pashto Dictionary