🚨fix: remove unused code
This commit is contained in:
parent
59dfbd5aa4
commit
df94318bc1
@ -9,9 +9,6 @@ import { usePlan } from '@/hooks/usePlan'
|
||||
|
||||
import WithDraggable from '@/components/common/draggable/WithDraggable'
|
||||
import { useCanvas } from '@/hooks/useCanvas'
|
||||
import { useRecoilValue } from 'recoil'
|
||||
import { canvasState } from '@/store/canvasAtom'
|
||||
import { useImgLoader } from '@/hooks/floorPlan/useImgLoader'
|
||||
// import { initImageLoaderPopup } from '@/lib/planAction'
|
||||
|
||||
export default function ImgLoad() {
|
||||
@ -33,7 +30,6 @@ export default function ImgLoad() {
|
||||
handleMapImageDown,
|
||||
handleAddressDelete,
|
||||
} = useRefFiles()
|
||||
const { handleCanvasToPng } = useImgLoader()
|
||||
|
||||
const handleModal = () => {
|
||||
setFloorPlanState({ ...floorPlanState, refFileModalOpen: false, toggleRotate: false })
|
||||
@ -153,7 +149,6 @@ export default function ImgLoad() {
|
||||
<button className="btn-frame modal act" onClick={handleModal}>
|
||||
{getMessage('common.finish')}
|
||||
</button>
|
||||
<button className="btn-frame modal act" onClick={() => handleCanvasToPng(1)}></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user