import fetch from './_fetch'; export default () => fetch(`api/user/logout`) .then(json => json)