♻️ refactor(helpers): refactor the components/utils.js to helpers/api.js and related imports
This commit is contained in:
@@ -46,7 +46,7 @@ import {
|
||||
IconCopy,
|
||||
IconSmallTriangleRight
|
||||
} from '@douyinfe/semi-icons';
|
||||
import { loadChannelModels } from './utils.js';
|
||||
import { loadChannelModels } from '../helpers';
|
||||
import EditTagModal from '../pages/Channel/EditTagModal.js';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ import {
|
||||
onGitHubOAuthClicked,
|
||||
onLinuxDOOAuthClicked,
|
||||
onOIDCClicked,
|
||||
} from './utils.js';
|
||||
} from '../helpers';
|
||||
import OIDCIcon from './common/logo/OIDCIcon.js';
|
||||
import LinuxDoIcon from './common/logo/LinuxDoIcon.js';
|
||||
import WeChatIcon from './common/logo/WeChatIcon.js';
|
||||
|
||||
Reference in New Issue
Block a user