From 26964a316ed75c64cfa58d4e32b1fec251ccdbdf Mon Sep 17 00:00:00 2001 From: saschabuehrle Date: Mon, 23 Mar 2026 19:47:07 +0100 Subject: [PATCH] fix: use RefObject for AppContext containerRef --- src/contexts/AppContext.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;