🚨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 WithDraggable from '@/components/common/draggable/WithDraggable'
|
||||||
import { useCanvas } from '@/hooks/useCanvas'
|
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'
|
// import { initImageLoaderPopup } from '@/lib/planAction'
|
||||||
|
|
||||||
export default function ImgLoad() {
|
export default function ImgLoad() {
|
||||||
@ -33,7 +30,6 @@ export default function ImgLoad() {
|
|||||||
handleMapImageDown,
|
handleMapImageDown,
|
||||||
handleAddressDelete,
|
handleAddressDelete,
|
||||||
} = useRefFiles()
|
} = useRefFiles()
|
||||||
const { handleCanvasToPng } = useImgLoader()
|
|
||||||
|
|
||||||
const handleModal = () => {
|
const handleModal = () => {
|
||||||
setFloorPlanState({ ...floorPlanState, refFileModalOpen: false, toggleRotate: false })
|
setFloorPlanState({ ...floorPlanState, refFileModalOpen: false, toggleRotate: false })
|
||||||
@ -153,7 +149,6 @@ export default function ImgLoad() {
|
|||||||
<button className="btn-frame modal act" onClick={handleModal}>
|
<button className="btn-frame modal act" onClick={handleModal}>
|
||||||
{getMessage('common.finish')}
|
{getMessage('common.finish')}
|
||||||
</button>
|
</button>
|
||||||
<button className="btn-frame modal act" onClick={() => handleCanvasToPng(1)}></button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user