import { persistor } from './store' const handleLogout = () => { dispatch({ type: 'LOGOUT' }) persistor.purge(); }