From a0206b0cc54b0efafe33c235b01e6405bb64f149 Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Wed, 29 Nov 2023 23:50:48 -0500 Subject: [PATCH] (feat:background) Add the background to the launcher's main screen --- src/ui/App.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ui/App.tsx b/src/ui/App.tsx index 8c01fc0..d42c41f 100644 --- a/src/ui/App.tsx +++ b/src/ui/App.tsx @@ -4,13 +4,21 @@ import Router, { Route } from "preact-router"; import TopBar from "@components/TopBar.tsx"; import Launcher from "@ui/layout/Launcher.tsx"; +import { useBackground } from "@backend/stores/mihoyo.ts"; + import { PageRoutes } from "@app/constants.ts"; import "@css/App.scss"; function App() { + const background = useBackground(); + return ( -
+