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 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};
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue