mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-20 22:44:52 +00:00
nice stuff
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState, createContext } from "react";
|
||||
import React, { useState, createContext, useEffect } from "react";
|
||||
import Sidebar from "../components/sidebar";
|
||||
import ControlPanel from "../components/control_panel";
|
||||
import { DndProvider } from "react-dnd";
|
||||
@@ -35,6 +35,11 @@ export default function Editor(props) {
|
||||
if (w > 340) setWidth(w);
|
||||
};
|
||||
|
||||
useEffect(()=>{
|
||||
document.title = "Editor";
|
||||
console.log("hey");
|
||||
}, [])
|
||||
|
||||
return (
|
||||
<LayoutContext.Provider value={{ layout, setLayout }}>
|
||||
<TableContext.Provider
|
||||
|
Reference in New Issue
Block a user