Refactor "All Fediverse" setting

This commit is contained in:
Alex Gleason 2019-07-31 11:04:11 -04:00
parent 4d458d5778
commit f8113f705a
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 4 additions and 5 deletions

View File

@ -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,

View File

@ -57,6 +57,10 @@ const initialState = ImmutableMap({
}),
community: ImmutableMap({
other: ImmutableMap({
allFediverse: false,
onlyMedia: false,
}),
regex: ImmutableMap({
body: '',
}),