mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-06-01 02:00:44 +08:00
Separate zoom and pan from settings
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { createContext, useState } from "react";
|
||||
|
||||
export const LayoutContext = createContext();
|
||||
export const LayoutContext = createContext(null);
|
||||
|
||||
export default function LayoutContextProvider({ children }) {
|
||||
const [layout, setLayout] = useState({
|
||||
|
||||
Reference in New Issue
Block a user