Added tests
This commit is contained in:
parent
753a55c9c1
commit
24e61efcf1
30 changed files with 2089 additions and 1737 deletions
14
src/app.tsx
14
src/app.tsx
|
@ -3,7 +3,7 @@ import { createGlobalStyle } from "styled-components";
|
|||
import SearchBar from "./components/searchBar";
|
||||
import Greeter from "./components/greeter";
|
||||
import AppList from "./components/appList";
|
||||
import BookmarkList from "./components/bookmarkList";
|
||||
import BookmarkList from "./components/bookmarks";
|
||||
import Settings from "./components/settings";
|
||||
import Imprint from "./components/imprint";
|
||||
|
||||
|
@ -29,15 +29,21 @@ const GlobalStyle = createGlobalStyle`
|
|||
* Renders the entire app by calling individual components
|
||||
*/
|
||||
const App = () => {
|
||||
|
||||
const { appData, bookmarkData, searchProviderData, themeData, imprintData, greeterData } = useFetcher();
|
||||
const {
|
||||
appData,
|
||||
bookmarkData,
|
||||
searchProviderData,
|
||||
themeData,
|
||||
imprintData,
|
||||
greeterData,
|
||||
} = useFetcher();
|
||||
|
||||
return (
|
||||
<>
|
||||
<GlobalStyle />
|
||||
<div>
|
||||
<SearchBar providers={searchProviderData?.providers} />
|
||||
{!themeData.error && !searchProviderData.error && (
|
||||
{(!themeData.error || !searchProviderData.error) && (
|
||||
<Settings
|
||||
themes={themeData?.themes}
|
||||
providers={searchProviderData?.providers}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue