♻️ refactor(helpers): refactor the helpers folder and related imports

This commit is contained in:
Apple\Apple
2025-06-03 23:56:39 +08:00
parent 1a8888211f
commit 61d1add156
39 changed files with 523 additions and 589 deletions

View File

@@ -8,6 +8,7 @@ import {
showSuccess,
updateAPI,
getSystemName,
setUserData
} from '../helpers';
import Turnstile from 'react-turnstile';
import {
@@ -30,7 +31,6 @@ import OIDCIcon from './common/logo/OIDCIcon.js';
import LinuxDoIcon from './common/logo/LinuxDoIcon.js';
import WeChatIcon from './common/logo/WeChatIcon.js';
import TelegramLoginButton from 'react-telegram-login/src';
import { setUserData } from '../helpers/data.js';
import { UserContext } from '../context/User/index.js';
import { useTranslation } from 'react-i18next';
import Background from '../images/example.png';