mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 12:54:38 +03:00
Linting update
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import React from "react";
|
||||
import { Route, Switch } from "react-router-dom";
|
||||
import { ToastProvider } from 'src/hooks/Toast';
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { fas } from '@fortawesome/free-solid-svg-icons'
|
||||
import { ErrorBoundary } from "./components/ErrorBoundary";
|
||||
import Galleries from "./components/Galleries/Galleries";
|
||||
import { MainNavbar } from "./components/MainNavbar";
|
||||
@@ -11,10 +14,7 @@ import { Stats } from "./components/Stats";
|
||||
import Studios from "./components/Studios/Studios";
|
||||
import Tags from "./components/Tags/Tags";
|
||||
import { SceneFilenameParser } from "./components/scenes/SceneFilenameParser";
|
||||
import { ToastProvider } from 'src/hooks/Toast';
|
||||
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { fas } from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||
|
||||
@@ -27,7 +27,7 @@ export const App: React.FC = () => (
|
||||
<ToastProvider>
|
||||
<div className="main">
|
||||
<Switch>
|
||||
<Route exact={true} path="/" component={Stats} />
|
||||
<Route exact path="/" component={Stats} />
|
||||
<Route path="/scenes" component={Scenes} />
|
||||
{/* <Route path="/scenes/:id" component={Scene} /> */}
|
||||
<Route path="/galleries" component={Galleries} />
|
||||
|
||||
Reference in New Issue
Block a user