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

6 lines
196 B
JavaScript

import { changeSetting, saveSettings } from './settings'
export const saveShownOnboarding = () => (dispatch) => {
dispatch(changeSetting(['shownOnboarding'], true))
dispatch(saveSettings())
}