mirror of
https://github.com/ramvignesh-b/pi-ku.git
synced 2026-05-04 19:10:52 +00:00
refactor: update ComposeCanvas and Editor data handling types
This commit is contained in:
@@ -109,7 +109,7 @@ export default function Editor() {
|
||||
await cryptoUtils.initialize();
|
||||
|
||||
try {
|
||||
const canvasData = canvasRef.current?.getData();
|
||||
const canvasData = canvasRef.current?.getData() || { objects: [] };
|
||||
const canvasImages = canvasRef.current?.getImages() || [];
|
||||
|
||||
const encImageFilesMap = await encryptCanvasImages(
|
||||
|
||||
Reference in New Issue
Block a user