gearheads
/
mastodon
Archived
2
0
Fork 0

Fix error when unmuting a domain without listing muted domains first (#7670)

gh/stable
ThibG 2018-05-29 16:25:05 +02:00 committed by Eugen Rochko
parent 90908fc24b
commit 0345cd5a0f
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ import {
import { Map as ImmutableMap, OrderedSet as ImmutableOrderedSet } from 'immutable';
const initialState = ImmutableMap({
blocks: ImmutableMap(),
blocks: ImmutableMap({
items: ImmutableOrderedSet(),
}),
});
export default function domainLists(state = initialState, action) {