MCPcopy
hub / github.com/usememos/memos / handleClose

Function handleClose

web/src/components/PreviewImageDialog.tsx:80–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78 }, [currentItem?.id, open]);
79
80 const handleClose = () => onOpenChange(false);
81 const handlePrevious = () => {
82 setCurrentIndex((prev) => Math.max(prev - 1, 0));
83 };

Callers 1

PreviewImageDialogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected