mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Disable onboarding modal (keep it in “Show me around” from getting started menu)
This commit is contained in:
parent
50f8ee2e07
commit
8615848348
@ -2,7 +2,6 @@ import React from 'react';
|
|||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import configureStore from 'flavours/glitch/store/configureStore';
|
import configureStore from 'flavours/glitch/store/configureStore';
|
||||||
import { showOnboardingOnce } from 'flavours/glitch/actions/onboarding';
|
|
||||||
import { BrowserRouter, Route } from 'react-router-dom';
|
import { BrowserRouter, Route } from 'react-router-dom';
|
||||||
import { ScrollContext } from 'react-router-scroll-4';
|
import { ScrollContext } from 'react-router-scroll-4';
|
||||||
import UI from 'flavours/glitch/features/ui';
|
import UI from 'flavours/glitch/features/ui';
|
||||||
@ -32,7 +31,6 @@ export default class Mastodon extends React.PureComponent {
|
|||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
this.disconnect = store.dispatch(connectUserStream());
|
this.disconnect = store.dispatch(connectUserStream());
|
||||||
store.dispatch(showOnboardingOnce());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
componentWillUnmount () {
|
componentWillUnmount () {
|
||||||
|
Loading…
Reference in New Issue
Block a user