fix logic

This commit is contained in:
adueck 2022-10-16 08:17:36 +05:00
parent 97de5d5a8b
commit dcf08c83f6
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ function Wordlist({ options, wordlist, isolateEntry, optionsDispatch, user }: {
/>} />}
</div> </div>
} }
if (!(user?.level === "student")) { if (!user || user.level !== "student") {
return <div className="width-limiter" style={{ marginBottom: "120px" }}> return <div className="width-limiter" style={{ marginBottom: "120px" }}>
<Helmet> <Helmet>
<title>Wordlist - LingDocs Pashto Dictionary</title> <title>Wordlist - LingDocs Pashto Dictionary</title>