calendar and testimonials

This commit is contained in:
Jakub Dorfman 2026-06-02 20:45:27 +02:00
parent ad34d78d40
commit 63bc055191
22 changed files with 1044 additions and 19 deletions

View file

@ -17,7 +17,7 @@
function startHold(id: string) {
holdingId = id;
holdTimer = setTimeout(() => {
const idx = blocks.findIndex((b) => b.id === id);
const idx = blocks.findIndex((b: ContentBlock) => b.id === id);
onDelete(id);
onSelect(blocks[idx + 1]?.id || blocks[idx - 1]?.id || '');
holdingId = '';