This commit is contained in:
Bastian Meissner 2020-09-08 18:26:45 +02:00
parent 8614b71e94
commit 759ceac608
2 changed files with 6 additions and 3 deletions

View file

@ -6,11 +6,10 @@ import Greeter from "./components/greeter";
import AppList from "./components/appList";
import BookmarkList from "./components/bookmarkList";
import Settings from "./components/settings";
import Imprint from "./components/imprint";
import selectedTheme from "./components/themeManager";
import Imprint from "./components/imprint";
const GlobalStyle = createGlobalStyle`
body {
background-color: ${selectedTheme.backgroundColor};

View file

@ -87,9 +87,13 @@ const Imprint = () => {
imprintData: { name, address, phone, email, url, error },
} = useImprintData();
useEffect(() => {
console.error(error);
}, [error]);
return (
<>
{error ? (
{!error ? (
<ListContainer>
<Hl>About</Hl>
<ItemList>