MVP Debugger UI (#2888)

This commit is contained in:
Jonathan Dobson
2025-07-07 22:30:33 -04:00
committed by GitHub
parent d63053835f
commit acbdb15265
65 changed files with 2071 additions and 1022 deletions

View File

@@ -0,0 +1,10 @@
import { useContext } from "react";
import { DebugStoreContext } from "./DebugStoreContext";
export function useDebugStore() {
const ctx = useContext(DebugStoreContext);
if (!ctx) {
throw new Error("useDebugStore must be used within a DebugStoreProvider");
}
return ctx;
}