mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
fix
This commit is contained in:
parent
a5126aff4a
commit
4dfba4839d
2 changed files with 1 additions and 2 deletions
|
@ -1,4 +1,3 @@
|
|||
// @flow
|
||||
import * as React from 'react';
|
||||
import { Icon } from '$components/panels/Icon';
|
||||
|
||||
|
|
|
@ -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'] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue