From c481f826d5db076877bb263dba4d1d6c91ed11a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E6=89=8B=E6=8E=89=E5=8C=85=E5=B7=A5=E7=A8=8B?= =?UTF-8?q?=E5=B8=88?= Date: Tue, 9 May 2023 21:32:37 +0800 Subject: [PATCH] chore(frontend): remove unused import and fix typo (#668) * Remove unused import and fix typo --- .github/workflows/{frontend.yaml => frontend.yml} | 0 public/app/app.tsx | 4 ++-- public/app/components/Sidebar.tsx | 4 ++-- public/app/pages/routes.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) rename .github/workflows/{frontend.yaml => frontend.yml} (100%) diff --git a/.github/workflows/frontend.yaml b/.github/workflows/frontend.yml similarity index 100% rename from .github/workflows/frontend.yaml rename to .github/workflows/frontend.yml diff --git a/public/app/app.tsx b/public/app/app.tsx index 9529ba3bc..20d76925b 100644 --- a/public/app/app.tsx +++ b/public/app/app.tsx @@ -2,7 +2,7 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import './jquery-import'; import { Provider } from 'react-redux'; -import store, { persistor } from './redux/store'; +import store from './redux/store'; import '@webapp/../sass/profile.scss'; import '@szhsin/react-menu/dist/index.css'; import Notifications from '@webapp/ui/Notifications'; @@ -31,7 +31,7 @@ function App() {
- + diff --git a/public/app/components/Sidebar.tsx b/public/app/components/Sidebar.tsx index f0908a0b1..a0677d131 100644 --- a/public/app/components/Sidebar.tsx +++ b/public/app/components/Sidebar.tsx @@ -60,13 +60,13 @@ export function Sidebar() { } > Single View diff --git a/public/app/pages/routes.ts b/public/app/pages/routes.ts index caf8ab5dd..dd6636fe0 100644 --- a/public/app/pages/routes.ts +++ b/public/app/pages/routes.ts @@ -1,5 +1,5 @@ export enum ROUTES { - CONTINOUS_SINGLE_VIEW = '/', + SINGLE_VIEW = '/', COMPARISON_VIEW = '/comparison', COMPARISON_DIFF_VIEW = '/comparison-diff', }