mirror of
https://github.com/bubblecup-12/VogelSocialMedia.git
synced 2025-07-07 01:38:48 +00:00
reformat Header.tsx, fix index.tsx
This commit is contained in:
parent
579fa4d8bb
commit
0dccd3f267
2 changed files with 128 additions and 126 deletions
|
@ -16,7 +16,7 @@ import InfoIcon from "@mui/icons-material/Info";
|
|||
import LogoutIcon from "@mui/icons-material/Logout";
|
||||
import ExitToAppIcon from "@mui/icons-material/ExitToApp";
|
||||
import FollowTheSignsIcon from "@mui/icons-material/FollowTheSigns";
|
||||
import { useNavigate, replace } from "react-router-dom";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { useAuth } from "../api/Auth";
|
||||
|
||||
function Header() {
|
||||
|
|
|
@ -1,18 +1,20 @@
|
|||
import React from 'react';
|
||||
import ReactDOM from 'react-dom/client';
|
||||
import './index.css';
|
||||
import App from './App';
|
||||
import reportWebVitals from './reportWebVitals';
|
||||
import { StyledEngineProvider } from '@mui/material';
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom/client";
|
||||
import "./index.css";
|
||||
import App from "./App";
|
||||
import reportWebVitals from "./reportWebVitals";
|
||||
import { StyledEngineProvider } from "@mui/material";
|
||||
|
||||
const root = ReactDOM.createRoot(
|
||||
document.getElementById("root") as HTMLElement
|
||||
);
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<StyledEngineProvider injectFirst>
|
||||
<StyledEngineProvider injectFirst>
|
||||
<App />
|
||||
</StyledEngineProvider>
|
||||
</StyledEngineProvider>
|
||||
</React.StrictMode>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue