feat(app): fetch root manifest

This commit is contained in:
Pihkaal
2024-05-30 23:55:08 +02:00
parent 186580cccb
commit 69091f6ea4
4 changed files with 53 additions and 29 deletions

View File

@@ -1,5 +1,11 @@
import { createContext } from "react";
import { type RootManifest } from "~/utils/types";
export const AppContext = createContext<
{ activeKitty: string; setActiveKitty: (value: string) => void } | undefined
| {
rootManifest: RootManifest;
activeKitty: string;
setActiveKitty: (value: string) => void;
}
| undefined
>(undefined);