Skip to content

Instantly share code, notes, and snippets.

@panvourtsis
Created June 12, 2019 10:47
Show Gist options
  • Save panvourtsis/feacbeebc66a8e317701e8f0759a59d9 to your computer and use it in GitHub Desktop.
Save panvourtsis/feacbeebc66a8e317701e8f0759a59d9 to your computer and use it in GitHub Desktop.
import {
SET_USER_TOKEN,
SetUserTokenAction,
} from './types';
import { simpleAction } from '../utils';
export const setUserToken = (token: string): SetUserTokenAction =>
simpleAction(SET_USER_TOKEN, token);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment