e9475219c9
• Added: - welcome page/introduction/onboarding flow • Todo: - clean up code for showing new user the page - add code for saving profile, cover photos, display name from intro slides
9 lines
310 B
JavaScript
9 lines
310 B
JavaScript
import moment from 'moment-mini'
|
|
import { changeSetting, saveSettings } from './settings'
|
|
|
|
export const MIN_ACCOUNT_CREATED_AT_ONBOARDING = moment('2020-07-14').valueOf()
|
|
|
|
export const saveShownOnboarding = () => (dispatch) => {
|
|
dispatch(changeSetting(['shownOnboarding'], true))
|
|
dispatch(saveSettings())
|
|
} |