Replace Table with responsive Card. Add refresh of token and retry on 401 errors
This commit is contained in:
@@ -2,9 +2,7 @@ import { createQuery } from './utils';
|
||||
import {
|
||||
eventQuery,
|
||||
} from './queryStrings';
|
||||
import webAuth from '../auth';
|
||||
|
||||
|
||||
/* eslint-disable max-len */
|
||||
export const findEvents = () => createQuery(webAuth.idToken, eventQuery);
|
||||
export const findEvents = () => createQuery(eventQuery);
|
||||
/* eslint-enable max-len */
|
||||
|
||||
Reference in New Issue
Block a user