diff --git a/src/contexts/AppContext.tsx b/src/contexts/AppContext.tsx index 9ecd0e7d..cd5ac20f 100644 --- a/src/contexts/AppContext.tsx +++ b/src/contexts/AppContext.tsx @@ -1,4 +1,4 @@ -import { createContext, type Ref } from "react"; +import { createContext, type RefObject } from "react"; export type SchemaFormat = "json" | "yaml"; @@ -8,7 +8,7 @@ export type SelectedNode = { }; type AppContextType = { - containerRef: Ref; + containerRef: RefObject; isFullScreen: boolean; toggleFullScreen: () => void;