diff --git a/web/src/components/MemoEditor/index.tsx b/web/src/components/MemoEditor/index.tsx index 2d4fb8d8..dab1cb5b 100644 --- a/web/src/components/MemoEditor/index.tsx +++ b/web/src/components/MemoEditor/index.tsx @@ -80,7 +80,7 @@ const MemoEditor = (props: Props) => { }, []); useEffect(() => { - let visibility = userSetting.memoVisibility; + let visibility = userSetting.memoVisibility || "PRIVATE"; if (systemStatus.disablePublicMemos && visibility === "PUBLIC") { visibility = "PRIVATE"; }