Améliorations UX: grille masonry et composants de notes
This commit is contained in:
parent
4a1b60e575
commit
a0ffc9043b
@ -249,8 +249,12 @@ export function NoteCard({
|
||||
setTimeout(() => onResize?.(), 300)
|
||||
|
||||
// Update server in background
|
||||
await updateSize(note.id, size)
|
||||
router.refresh()
|
||||
|
||||
try {
|
||||
await updateSize(note.id, size);
|
||||
} catch (error) {
|
||||
console.error('Failed to update note size:', error);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user