This commit is contained in:
muerwre 2019-02-21 15:22:26 +07:00
parent a5126aff4a
commit 4dfba4839d
2 changed files with 1 additions and 2 deletions

View file

@ -1,4 +1,3 @@
// @flow
import * as React from 'react';
import { Icon } from '$components/panels/Icon';

View file

@ -53,7 +53,7 @@ export const checkUserToken = (
routes: (result.data.routes && result.data.routes.length > 0 && arrayToObject(result.data.routes, '_id')) || {},
})).catch(() => null);
export const getGuestToken = ():AxiosPromise<any> => axios.get(API.GET_GUEST).then(result => (result && result.data));
export const getGuestToken = ():AxiosPromise<IUser> => axios.get(API.GET_GUEST).then(result => (result && result.data));
export const getStoredMap = (
{ name }: { name: IRootState['address'] }