Move utility functions to common functions

[MAILPOET-2677]
This commit is contained in:
Amine Ben hammou
2020-03-18 16:45:31 +01:00
committed by Veljko V
parent 50ca3b7310
commit dc0fc44194
16 changed files with 19 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { onChange, t } from 'settings/utils';
import { useSelector } from 'settings/store/hooks';
import { onChange, t } from 'common/functions';
type Props = {
id?: string

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { useLocation } from 'react-router-dom';
import { t } from 'common/functions';
import { useSelector } from 'settings/store/hooks';
import { t } from 'settings/utils';
import TabLink from './tab_link';
export default () => {