Format settings selector hook
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
86ab75e819
commit
b69c78cab0
1 file changed
+1
-5
@@ -242,11 +242,7 @@ function useSelectedClientSettings<T>(selector: SettingsSelector<ClientSettings,
|
||||
[selector],
|
||||
);
|
||||
const getSelectedServerSnapshot = useMemo(
|
||||
() =>
|
||||
createSettingsSelectorSnapshotReader(
|
||||
() => DEFAULT_CLIENT_SETTINGS,
|
||||
selector,
|
||||
),
|
||||
() => createSettingsSelectorSnapshotReader(() => DEFAULT_CLIENT_SETTINGS, selector),
|
||||
[selector],
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user