Commit 40a15b6b authored by Eugen Rochko's avatar Eugen Rochko

Exclude mastodon.social from picker

parent da23313b
Pipeline #411 passed with stages
in 52 seconds
......@@ -33,7 +33,7 @@ export default function reducer(state = initialState, action) {
case LOCALE_CHANGE:
return { ...state, locale: action.data };
case INSTANCES_FETCH_SUCCESS:
return { ...state, instances: action.data };
return { ...state, instances: action.data.filter(instance => instance.name !== 'mastodon.social') };
case FILTER_CATEGORY_CHANGE:
return { ...state, filter: { ...state.filter, category: action.data } };
case FILTER_LANGUAGE_CHANGE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment