From 56729e0dbb4154bfd72e3af851327eb1e87b2d36 Mon Sep 17 00:00:00 2001 From: LASER-Yi Date: Sun, 15 Aug 2021 20:46:56 +0800 Subject: [PATCH] no log: Move auth page to special-page folder --- frontend/src/App/index.tsx | 2 +- frontend/src/{Auth/style.scss => special-pages/AuthPage.scss} | 0 frontend/src/{Auth/index.tsx => special-pages/AuthPage.tsx} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename frontend/src/{Auth/style.scss => special-pages/AuthPage.scss} (100%) rename frontend/src/{Auth/index.tsx => special-pages/AuthPage.tsx} (99%) diff --git a/frontend/src/App/index.tsx b/frontend/src/App/index.tsx index 93d0bf9c5..6df87e3d1 100644 --- a/frontend/src/App/index.tsx +++ b/frontend/src/App/index.tsx @@ -15,9 +15,9 @@ import { useNotification } from "../@redux/hooks/site"; import store from "../@redux/store"; import "../@scss/index.scss"; import Socketio from "../@socketio"; -import Auth from "../Auth"; import { LoadingIndicator, ModalProvider } from "../components"; import Sidebar from "../Sidebar"; +import Auth from "../special-pages/AuthPage"; import LaunchError from "../special-pages/LaunchError"; import UIError from "../special-pages/UIError"; import { useBaseUrl, useHasUpdateInject } from "../utilites"; diff --git a/frontend/src/Auth/style.scss b/frontend/src/special-pages/AuthPage.scss similarity index 100% rename from frontend/src/Auth/style.scss rename to frontend/src/special-pages/AuthPage.scss diff --git a/frontend/src/Auth/index.tsx b/frontend/src/special-pages/AuthPage.tsx similarity index 99% rename from frontend/src/Auth/index.tsx rename to frontend/src/special-pages/AuthPage.tsx index 0293b1fa2..5c4c9dc8b 100644 --- a/frontend/src/Auth/index.tsx +++ b/frontend/src/special-pages/AuthPage.tsx @@ -12,7 +12,7 @@ import { Redirect } from "react-router-dom"; import { useReduxStore } from "../@redux/hooks/base"; import logo from "../@static/logo128.png"; import { SystemApi } from "../apis"; -import "./style.scss"; +import "./AuthPage.scss"; interface Props {}