🐛 fix(todo): await async importFromPngBytes call

This commit is contained in:
Till-JS 2026-02-17 14:19:31 +01:00
parent a336cc2381
commit 216a868127

View file

@ -215,7 +215,7 @@ class SpiralStore {
const bytes = new Uint8Array(buffer);
// Parse PNG and extract image
const image = importFromPngBytes(bytes);
const image = await importFromPngBytes(bytes);
// Reconstruct database from image
this.db = SpiralDB.fromImage<TodoData>(image, createTodoSchema());