- 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 { t } from 'i18next';
import Api from '../api/Api';
import apiClient from '../api/Api';
import { addErrorToast, addSuccessToast } from './index';
const apiClient = new Api();
export const toggleRewritesModal = createAction('TOGGLE_REWRITES_MODAL');
export const getRewritesListRequest = createAction('GET_REWRITES_LIST_REQUEST');