Browse Source

Fix error when unmuting a domain without listing muted domains first

closed-social-glitch-2
Thibaut Girka 6 years ago
committed by ThibG
parent
commit
532fb8e215
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      app/javascript/flavours/glitch/reducers/domain_lists.js

+ 3
- 1
app/javascript/flavours/glitch/reducers/domain_lists.js 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) {

Loading…
Cancel
Save