From a84a13c76d99f1e6f4505d43108a4111749e5035 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sat, 25 May 2024 19:14:54 -0400 Subject: Custom error handler and some misc fixes --- frontend/src/components/DeckyGlobalComponentsState.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/src/components/DeckyGlobalComponentsState.tsx') diff --git a/frontend/src/components/DeckyGlobalComponentsState.tsx b/frontend/src/components/DeckyGlobalComponentsState.tsx index fe45588b..475d1e4a 100644 --- a/frontend/src/components/DeckyGlobalComponentsState.tsx +++ b/frontend/src/components/DeckyGlobalComponentsState.tsx @@ -1,4 +1,4 @@ -import { FC, createContext, useContext, useEffect, useState } from 'react'; +import { FC, ReactNode, createContext, useContext, useEffect, useState } from 'react'; interface PublicDeckyGlobalComponentsState { components: Map; @@ -40,6 +40,7 @@ export const useDeckyGlobalComponentsState = () => useContext(DeckyGlobalCompone interface Props { deckyGlobalComponentsState: DeckyGlobalComponentsState; + children: ReactNode; } export const DeckyGlobalComponentsStateContextProvider: FC = ({ -- cgit v1.2.3