mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 16:59:41 +00:00
Rename key to path in actions and reducers for settings (tootsuite pr #6105)
This commit is contained in:
@@ -44,7 +44,7 @@ export default function push_subscriptions(state = initialState, action) {
|
||||
case CLEAR_SUBSCRIPTION:
|
||||
return initialState;
|
||||
case SET_ALERTS:
|
||||
return state.setIn(action.key, action.value);
|
||||
return state.setIn(action.path, action.value);
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user