fix: delete additional things

This commit is contained in:
2025-08-02 12:48:02 +03:30
parent 482d672955
commit 3f5f8e1aaf
8 changed files with 26 additions and 16 deletions

8
package-lock.json generated
View File

@@ -30,6 +30,7 @@
"@types/node": "^24.0.10", "@types/node": "^24.0.10",
"@types/react": "^19.1.8", "@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6", "@types/react-dom": "^19.1.6",
"@types/stylis": "^4.2.7",
"@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1", "@typescript-eslint/parser": "^8.35.1",
"@vitejs/plugin-react": "^4.5.2", "@vitejs/plugin-react": "^4.5.2",
@@ -1895,6 +1896,13 @@
"@types/react": "*" "@types/react": "*"
} }
}, },
"node_modules/@types/stylis": {
"version": "4.2.7",
"resolved": "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.7.tgz",
"integrity": "sha512-VgDNokpBoKF+wrdvhAAfS55OMQpL6QRglwTwNC3kIgBrzZxA4WsFj+2eLfEA/uMUDzBcEhYmjSbwQakn/i3ajA==",
"dev": true,
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": { "node_modules/@typescript-eslint/eslint-plugin": {
"version": "8.35.1", "version": "8.35.1",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.35.1.tgz", "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.35.1.tgz",

View File

@@ -33,6 +33,7 @@
"@types/node": "^24.0.10", "@types/node": "^24.0.10",
"@types/react": "^19.1.8", "@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6", "@types/react-dom": "^19.1.6",
"@types/stylis": "^4.2.7",
"@typescript-eslint/eslint-plugin": "^8.35.1", "@typescript-eslint/eslint-plugin": "^8.35.1",
"@typescript-eslint/parser": "^8.35.1", "@typescript-eslint/parser": "^8.35.1",
"@vitejs/plugin-react": "^4.5.2", "@vitejs/plugin-react": "^4.5.2",

View File

@@ -1,20 +1,9 @@
import { import { CssBaseline, useColorScheme } from '@mui/material';
Alert,
Box,
CssBaseline,
TextField,
Typography,
useColorScheme,
} from '@mui/material';
import './App.css'; import './App.css';
import { useTranslation } from 'react-i18next';
import { LanguageManager } from './components/LanguageManager'; import { LanguageManager } from './components/LanguageManager';
import { Settings } from './features/profile/Settings'; import { Settings } from './features/profile/Settings';
import { Setting } from './features/profile/components/setting/Setting';
function App() { function App() {
const { t } = useTranslation();
return ( return (
<> <>
<CssBaseline /> <CssBaseline />
@@ -56,7 +45,6 @@ function App() {
export default App; export default App;
import { Button } from '@mui/material'; import { Button } from '@mui/material';
import { Avalanche } from 'iconsax-react';
export const ThemeToggleButton = () => { export const ThemeToggleButton = () => {
const { mode, setMode } = useColorScheme(); const { mode, setMode } = useColorScheme();

View File

@@ -1,5 +1,5 @@
import { Alert, Snackbar, type AlertColor } from '@mui/material'; import { Alert, Snackbar, type AlertColor } from '@mui/material';
import React, { type PropsWithChildren } from 'react'; import { type PropsWithChildren } from 'react';
export interface ToastProps extends PropsWithChildren { export interface ToastProps extends PropsWithChildren {
color: AlertColor | undefined; color: AlertColor | undefined;

View File

@@ -1,4 +1,3 @@
import React from 'react';
import { import {
createBrowserRouter, createBrowserRouter,
RouterProvider, RouterProvider,

View File

@@ -1,4 +1,4 @@
import React, { useState } from 'react'; import { useState } from 'react';
import { import {
Box, Box,
Typography, Typography,

2
vite.config.d.ts vendored Normal file
View File

@@ -0,0 +1,2 @@
declare const _default: import("vite").UserConfig;
export default _default;

12
vite.config.js Normal file
View File

@@ -0,0 +1,12 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import path from 'path';
// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
});