gab-social/app/javascript/gabsocial/actions/onboarding.js

9 lines
268 B
JavaScript
Raw Normal View History

2019-07-02 08:10:25 +01:00
import { changeSetting, saveSettings } from './settings';
export const INTRODUCTION_VERSION = 20181216044202;
export const closeOnboarding = () => dispatch => {
dispatch(changeSetting(['introductionVersion'], INTRODUCTION_VERSION));
dispatch(saveSettings());
};