fix: delete additional things
This commit is contained in:
14
src/App.tsx
14
src/App.tsx
@@ -1,20 +1,9 @@
|
||||
import {
|
||||
Alert,
|
||||
Box,
|
||||
CssBaseline,
|
||||
TextField,
|
||||
Typography,
|
||||
useColorScheme,
|
||||
} from '@mui/material';
|
||||
import { CssBaseline, useColorScheme } from '@mui/material';
|
||||
import './App.css';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { LanguageManager } from './components/LanguageManager';
|
||||
import { Settings } from './features/profile/Settings';
|
||||
import { Setting } from './features/profile/components/setting/Setting';
|
||||
|
||||
function App() {
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
<>
|
||||
<CssBaseline />
|
||||
@@ -56,7 +45,6 @@ function App() {
|
||||
export default App;
|
||||
|
||||
import { Button } from '@mui/material';
|
||||
import { Avalanche } from 'iconsax-react';
|
||||
|
||||
export const ThemeToggleButton = () => {
|
||||
const { mode, setMode } = useColorScheme();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Alert, Snackbar, type AlertColor } from '@mui/material';
|
||||
import React, { type PropsWithChildren } from 'react';
|
||||
import { type PropsWithChildren } from 'react';
|
||||
|
||||
export interface ToastProps extends PropsWithChildren {
|
||||
color: AlertColor | undefined;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import React from 'react';
|
||||
import {
|
||||
createBrowserRouter,
|
||||
RouterProvider,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from 'react';
|
||||
import { useState } from 'react';
|
||||
import {
|
||||
Box,
|
||||
Typography,
|
||||
|
||||
Reference in New Issue
Block a user