mirror of
https://github.com/XFox111/easylogon-web.git
synced 2026-07-02 19:52:45 +03:00
chore(deps): update dependencies + remove react-helmet + tweak dependabot
This commit is contained in:
+1
-4
@@ -2,7 +2,6 @@ import { lazy, ReactElement } from "react";
|
||||
import { useTheme } from "./utils/useTheme";
|
||||
import { FluentProvider } from "@fluentui/react-components";
|
||||
import { BrowserRouter, Navigate, Route, Routes } from "react-router-dom";
|
||||
import { Helmet } from "react-helmet";
|
||||
import StartPage from "./pages/StartPage";
|
||||
import SuccessPage from "./pages/SuccessPage";
|
||||
import ErrorPage from "./pages/ErrorPage";
|
||||
@@ -25,9 +24,7 @@ export default function App(): ReactElement
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
||||
<Helmet>
|
||||
<meta name="theme-color" content={ theme.colorNeutralBackground1 } />
|
||||
</Helmet>
|
||||
<meta name="theme-color" content={ theme.colorNeutralBackground1 } />
|
||||
</FluentProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import { ReactElement } from "react";
|
||||
import { Helmet } from "react-helmet";
|
||||
|
||||
export default function MetaTitle(props: { title?: string }): ReactElement
|
||||
{
|
||||
return (
|
||||
<Helmet>
|
||||
<title>{ props.title ? `${props.title} - EasyLogon` : "EasyLogon" }</title>
|
||||
</Helmet>
|
||||
<title>{ props.title ? `${props.title} - EasyLogon` : "EasyLogon" }</title>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user