Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs([issue-1764]): correct onCleanComplete JSDoc after Clean→resize-squeeze rewire

[._.]/ Adam Eivya8d988343e59
diff --git a/client/src/hooks/useMediaPreviewActions.js b/client/src/hooks/useMediaPreviewActions.js
index 78a5ad65c1..e4aad40ba5 100644
--- a/client/src/hooks/useMediaPreviewActions.js
+++ b/client/src/hooks/useMediaPreviewActions.js
@@ -40,9 +40,10 @@ function buildImageGenParams(item) {
*
* @param {object} [options]
* @param {(cleaned: object) => any | Promise<any>} [options.onCleanComplete]
- * Fires AFTER `cleanGalleryImage` resolves. Use it to splice the cleaned
- * image into the consumer's local state (collection items, gallery list,
- * variation imageRefs, etc.). Errors thrown from the callback bubble.
+ * Fires AFTER a Clean (`handleClean`) or watermark-removal resolves. Use it to
+ * splice the resulting variant into the consumer's local state (collection
+ * items, gallery list, variation imageRefs, etc.). Errors thrown from the
+ * callback bubble.
*
* Returns the four handlers shaped for direct use as MediaPreview props.
*/