Issue #6 Implementado scroll global

This commit is contained in:
Daniel Cortes
2020-06-19 11:50:26 -04:00
parent 76280a4f8c
commit 291ec0aa53
2 changed files with 19 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ import './styles/tabs.scss';
import {Nav} from "./components/Nav";
import {SearchBar} from "./components/SearchBar";
import {ScrollToTopRouter} from "./components/ScrollToTop";
import {Search} from './views/Search';
import {ArtistView} from "./views/Artist";
@@ -41,6 +42,7 @@ const NoRoute = (props) => {
const App = () => (
<main>
<BrowserRouter>
<ScrollToTopRouter/>
<Nav/>
<Switch>
<Route path='/search/:who?' component={Search}/>