- client: fix api client export

This commit is contained in:
Ildar Kamalov
2019-09-05 12:12:58 +03:00
committed by Simon Zolin
parent 0e6c795c5b
commit 8c89973365
12 changed files with 15 additions and 31 deletions

View File

@@ -1,10 +1,8 @@
import { createAction } from 'redux-actions';
import Api from '../api/Api';
import apiClient from '../api/Api';
import { addErrorToast, addSuccessToast } from './index';
import { redirectToCurrentProtocol } from '../helpers/helpers';
const apiClient = new Api();
export const getTlsStatusRequest = createAction('GET_TLS_STATUS_REQUEST');
export const getTlsStatusFailure = createAction('GET_TLS_STATUS_FAILURE');
export const getTlsStatusSuccess = createAction('GET_TLS_STATUS_SUCCESS');