♻️ refactor(helpers): refactor the components/utils.js to helpers/api.js and related imports

This commit is contained in:
Apple\Apple
2025-06-04 00:11:06 +08:00
parent b0a145fd5b
commit a92373c78c
5 changed files with 82 additions and 5 deletions

View File

@@ -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';

View File

@@ -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';