Abstract save state from editor

This commit is contained in:
1ilit
2024-03-15 16:00:23 +02:00
parent d347e856a8
commit 1132edbbb3
9 changed files with 379 additions and 354 deletions

View File

@@ -0,0 +1,6 @@
import { useContext } from "react";
import { SaveStateContext } from "../context/SaveStateContext";
export default function useSaveState() {
return useContext(SaveStateContext);
}