fix: do not show full editor to non logged in users

This commit is contained in:
thecodrr
2020-10-28 13:17:05 +05:00
parent c0e61df4e3
commit ddd740a44a

View File

@@ -100,7 +100,7 @@ function Editor() {
id="quill"
ref={quillRef}
refresh={sessionState === SESSION_STATES.new}
isSimple={isLoggedin && !isTrial}
isSimple={!isLoggedin || (isLoggedin && !isTrial)}
onFocus={() => {
toggleProperties(false);
}}