Skip to content

Instantly share code, notes, and snippets.

@Wellers0n
Created May 27, 2019 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Wellers0n/8fe288df26ed6e10934851ce01e6713e to your computer and use it in GitHub Desktop.
Save Wellers0n/8fe288df26ed6e10934851ce01e6713e to your computer and use it in GitHub Desktop.
authentication
// auth.js
export const isAuthenticated = () => localStorage.getItem('token');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment