mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-26 19:33:41 +01:00
remove unused openOnboardingModal from getting_started
This commit is contained in:
parent
00be9eb3fe
commit
939075899e
1 changed files with 1 additions and 9 deletions
|
@ -56,15 +56,8 @@ const makeMapStateToProps = () => {
|
||||||
|
|
||||||
const mapDispatchToProps = dispatch => ({
|
const mapDispatchToProps = dispatch => ({
|
||||||
fetchFollowRequests: () => dispatch(fetchFollowRequests()),
|
fetchFollowRequests: () => dispatch(fetchFollowRequests()),
|
||||||
|
|
||||||
fetchLists: () => dispatch(fetchLists()),
|
fetchLists: () => dispatch(fetchLists()),
|
||||||
|
|
||||||
openSettings: () => dispatch(openModal('SETTINGS', {})),
|
openSettings: () => dispatch(openModal('SETTINGS', {})),
|
||||||
|
|
||||||
openOnboardingModal: (e) => {
|
|
||||||
e.preventDefault();
|
|
||||||
this.props.dispatch(openModal('ONBOARDING'));
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
const badgeDisplay = (number, limit) => {
|
const badgeDisplay = (number, limit) => {
|
||||||
|
@ -92,7 +85,6 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
lists: ImmutablePropTypes.list,
|
lists: ImmutablePropTypes.list,
|
||||||
fetchLists: PropTypes.func.isRequired,
|
fetchLists: PropTypes.func.isRequired,
|
||||||
openSettings: PropTypes.func.isRequired,
|
openSettings: PropTypes.func.isRequired,
|
||||||
openOnboardingModal: PropTypes.func.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
componentWillMount () {
|
componentWillMount () {
|
||||||
|
|
Loading…
Reference in a new issue