Update
This commit is contained in:
parent
8614b71e94
commit
759ceac608
2 changed files with 6 additions and 3 deletions
|
@ -6,11 +6,10 @@ import Greeter from "./components/greeter";
|
||||||
import AppList from "./components/appList";
|
import AppList from "./components/appList";
|
||||||
import BookmarkList from "./components/bookmarkList";
|
import BookmarkList from "./components/bookmarkList";
|
||||||
import Settings from "./components/settings";
|
import Settings from "./components/settings";
|
||||||
|
import Imprint from "./components/imprint";
|
||||||
|
|
||||||
import selectedTheme from "./components/themeManager";
|
import selectedTheme from "./components/themeManager";
|
||||||
|
|
||||||
import Imprint from "./components/imprint";
|
|
||||||
|
|
||||||
const GlobalStyle = createGlobalStyle`
|
const GlobalStyle = createGlobalStyle`
|
||||||
body {
|
body {
|
||||||
background-color: ${selectedTheme.backgroundColor};
|
background-color: ${selectedTheme.backgroundColor};
|
||||||
|
|
|
@ -87,9 +87,13 @@ const Imprint = () => {
|
||||||
imprintData: { name, address, phone, email, url, error },
|
imprintData: { name, address, phone, email, url, error },
|
||||||
} = useImprintData();
|
} = useImprintData();
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
console.error(error);
|
||||||
|
}, [error]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{error ? (
|
{!error ? (
|
||||||
<ListContainer>
|
<ListContainer>
|
||||||
<Hl>About</Hl>
|
<Hl>About</Hl>
|
||||||
<ItemList>
|
<ItemList>
|
||||||
|
|
Loading…
Reference in a new issue