@@ -1,5 +1,5 @@
|
||||
import { IdeContext } from 'src/pages/DevIdePage/DevIdePage'
|
||||
import { useRef, useState, useEffect, useContext } from 'react'
|
||||
import { useIdeContext } from 'src/helpers/hooks/useIdeContext'
|
||||
import { useRef, useState, useEffect } from 'react'
|
||||
import {
|
||||
Canvas,
|
||||
extend,
|
||||
@@ -138,7 +138,7 @@ function Sphere(props) {
|
||||
)
|
||||
}
|
||||
const IdeViewer = () => {
|
||||
const { state, thunkDispatch } = useContext(IdeContext)
|
||||
const { state, thunkDispatch } = useIdeContext()
|
||||
const [isDragging, setIsDragging] = useState(false)
|
||||
const [image, setImage] = useState()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user