Refactor "All Fediverse" setting
This commit is contained in:
parent
4d458d5778
commit
f8113f705a
|
@ -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,
|
||||
|
|
|
@ -57,6 +57,10 @@ const initialState = ImmutableMap({
|
|||
}),
|
||||
|
||||
community: ImmutableMap({
|
||||
other: ImmutableMap({
|
||||
allFediverse: false,
|
||||
onlyMedia: false,
|
||||
}),
|
||||
regex: ImmutableMap({
|
||||
body: '',
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue