diff --git a/src/components/nav-menu.jsx b/src/components/nav-menu.jsx
index e92e96c1..f11f6aa7 100644
--- a/src/components/nav-menu.jsx
+++ b/src/components/nav-menu.jsx
@@ -234,6 +234,13 @@ function NavMenu(props) {
Log in
+
>
)}
diff --git a/src/pages/settings.jsx b/src/pages/settings.jsx
index a1834a4c..ef4682ef 100644
--- a/src/pages/settings.jsx
+++ b/src/pages/settings.jsx
@@ -34,6 +34,7 @@ function Settings({ onClose }) {
const currentTextSize = store.local.get('textSize') || DEFAULT_TEXT_SIZE;
const [prefs, setPrefs] = useState(store.account.get('preferences') || {});
+ const { masto, authenticated } = api();
// Get preferences every time Settings is opened
// NOTE: Disabled for now because I don't expect this to change often. Also for some reason, the /api/v1/preferences endpoint is cached for a while and return old prefs if refresh immediately after changing them.
// useEffect(() => {
@@ -169,50 +170,55 @@ function Settings({ onClose }) {
-
Posting
-
-
-
-
-
-
-
-
-
-
-
-
+ {authenticated && (
+ <>
+
Posting
+
+
+
+
+
+
+
+
+
+
+
+
+ >
+ )}
Experiments
@@ -384,21 +390,23 @@ function Settings({ onClose }) {
-