mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
22 lines
658 B
JavaScript
22 lines
658 B
JavaScript
import React from "react";
|
|
import { AppWrapper } from "../../../ui/components";
|
|
import { useSettings } from "../../settings/hooks/useSettings";
|
|
import { GridMenu } from "./GridMenu";
|
|
import { Box } from "@material-ui/core";
|
|
import { useApps } from "../../appmarket/hooks/useApps";
|
|
|
|
export const HomeApp = () => {
|
|
const [settings] = useSettings();
|
|
const [apps] = useApps();
|
|
console.log(apps)
|
|
return (
|
|
<AppWrapper
|
|
style={{
|
|
backgroundImage: `${process.env.PUBLIC_URL}url(/media/backgrounds/${settings.wallpaper})`,
|
|
}}
|
|
>
|
|
<Box mt={6} px={4}>{apps && <GridMenu apps={apps.preinstalled} />}</Box>
|
|
</AppWrapper>
|
|
);
|
|
};
|