~cytrogen/masto-fe

ref: ec59166844b04ec416bdbc2612fd8a4364f9dd67 masto-fe/app/javascript/mastodon/actions/onboarding.js -rw-r--r-- 268 bytes
ec591668 — Claire Fix ArgumentError when loading newer Private Mentions (#25399) 2 years ago
                                                                                
1
2
3
4
5
6
7
8
import { changeSetting, saveSettings } from './settings';

export const INTRODUCTION_VERSION = 20181216044202;

export const closeOnboarding = () => dispatch => {
  dispatch(changeSetting(['introductionVersion'], INTRODUCTION_VERSION));
  dispatch(saveSettings());
};