Redesign composer thunks (#39945)
This commit is contained in:
12 files changed
+123
-42
No files matched your search
@@ -18,9 +18,10 @@ import SettingToggle from './setting_toggle';
|
||||
const selectNotificationSettings = createAppSelector(
|
||||
[
|
||||
(state) =>
|
||||
(state.settings as Immutable.Map<string, unknown>).get(
|
||||
'notifications',
|
||||
) as Immutable.Map<string, Immutable.Map<string, unknown> | boolean>,
|
||||
state.settings.get('notifications') as Immutable.Map<
|
||||
string,
|
||||
Immutable.Map<string, unknown> | boolean
|
||||
>,
|
||||
(state) => state.notifications.get('browserPermission') as string,
|
||||
(state) => state.push_notifications,
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user