mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-15 03:15:32 +00:00
Fix error when unmuting a domain without listing muted domains first
This commit is contained in:
parent
6a1544bd46
commit
532fb8e215
|
@ -6,7 +6,9 @@ import {
|
||||||
import { Map as ImmutableMap, OrderedSet as ImmutableOrderedSet } from 'immutable';
|
import { Map as ImmutableMap, OrderedSet as ImmutableOrderedSet } from 'immutable';
|
||||||
|
|
||||||
const initialState = ImmutableMap({
|
const initialState = ImmutableMap({
|
||||||
blocks: ImmutableMap(),
|
blocks: ImmutableMap({
|
||||||
|
items: ImmutableOrderedSet(),
|
||||||
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
export default function domainLists(state = initialState, action) {
|
export default function domainLists(state = initialState, action) {
|
||||||
|
|
Loading…
Reference in a new issue