diff --git a/app/javascript/gabsocial/features/community_timeline/index.js b/app/javascript/gabsocial/features/community_timeline/index.js index 6b59339c..58130882 100644 --- a/app/javascript/gabsocial/features/community_timeline/index.js +++ b/app/javascript/gabsocial/features/community_timeline/index.js @@ -41,11 +41,6 @@ class CommunityTimeline extends React.PureComponent { router: PropTypes.object, }; - static defaultProps = { - onlyMedia: false, - allFediverse: false, - }; - static propTypes = { dispatch: PropTypes.func.isRequired, intl: PropTypes.object.isRequired, diff --git a/app/javascript/gabsocial/reducers/settings.js b/app/javascript/gabsocial/reducers/settings.js index 99f0c718..49ef639f 100644 --- a/app/javascript/gabsocial/reducers/settings.js +++ b/app/javascript/gabsocial/reducers/settings.js @@ -57,6 +57,10 @@ const initialState = ImmutableMap({ }), community: ImmutableMap({ + other: ImmutableMap({ + allFediverse: false, + onlyMedia: false, + }), regex: ImmutableMap({ body: '', }),