diff --git a/src/App.css b/src/App.css index a35191b..1b0c364 100644 --- a/src/App.css +++ b/src/App.css @@ -41,4 +41,4 @@ padding: 16px; margin-top: auto; font-size: 0.75em; -} \ No newline at end of file +} diff --git a/src/App.tsx b/src/App.tsx index 7c5187d..15498fa 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -60,70 +60,65 @@ function App() { return ( <> -
- - -
- {isSearching ? ( - - ) : view === 'favoritter' ? ( - - ) : ( - + + +
+ {isSearching ? ( + + ) : view === 'favoritter' ? ( + + ) : ( + + )} +
+ + {selectedMovie && ( + setSelectedMovie(null)} /> )} -
- - {selectedMovie && ( - setSelectedMovie(null)} - /> - )} - -
+ + -