diff options
Diffstat (limited to 'modern/src/common/util/preferences.js')
-rw-r--r-- | modern/src/common/util/preferences.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modern/src/common/util/preferences.js b/modern/src/common/util/preferences.js index 54dfbada..229b6f17 100644 --- a/modern/src/common/util/preferences.js +++ b/modern/src/common/util/preferences.js @@ -39,10 +39,3 @@ export const useAttributePreference = (key, defaultValue) => useSelector((state) } return defaultValue; }); - -export const useServerAttributePreference = (key, defaultValue) => useSelector((state) => { - if (containsProperty(state.session.server.attributes, key)) { - return state.session.server.attributes[key]; - } - return defaultValue; -}); |