bigbuffet-rw/app/soapbox/actions/onboarding.js
2020-05-28 17:56:55 -05:00

8 lines
268 B
JavaScript

import { changeSetting, saveSettings } from './settings';
export const INTRODUCTION_VERSION = 20181216044202;
export const closeOnboarding = () => dispatch => {
dispatch(changeSetting(['introductionVersion'], INTRODUCTION_VERSION));
dispatch(saveSettings());
};