mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 22:48:14 -05:00
Took out unnecessary state
This commit is contained in:
@@ -23,7 +23,6 @@ export default function Workflow() {
|
|||||||
const [pan, setPan] = useState({ x: 0, y: 0 })
|
const [pan, setPan] = useState({ x: 0, y: 0 })
|
||||||
const [isPanning, setIsPanning] = useState(false)
|
const [isPanning, setIsPanning] = useState(false)
|
||||||
const [startPanPos, setStartPanPos] = useState({ x: 0, y: 0 })
|
const [startPanPos, setStartPanPos] = useState({ x: 0, y: 0 })
|
||||||
const [draggedBlock, setDraggedBlock] = useState<string | null>(null)
|
|
||||||
|
|
||||||
// Initialize pan position after mount
|
// Initialize pan position after mount
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user