diff options
Diffstat (limited to 'modern/src/settings/components/SettingsMenu.js')
-rw-r--r-- | modern/src/settings/components/SettingsMenu.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/settings/components/SettingsMenu.js b/modern/src/settings/components/SettingsMenu.js index a37d5d1a..181cd74c 100644 --- a/modern/src/settings/components/SettingsMenu.js +++ b/modern/src/settings/components/SettingsMenu.js @@ -34,7 +34,7 @@ const SettingsMenu = () => { const readonly = useReadonly(); const admin = useAdministrator(); const manager = useManager(); - const userId = useSelector((state) => state.session.user?.id); + const userId = useSelector((state) => state.session.user.id); const features = useFeatures(); |