Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit b9f8472

Browse files
DEV: simplify param
Co-authored-by: Joffrey JAFFEUX <[email protected]>
1 parent bb71580 commit b9f8472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/javascripts/discourse/components/modal/diff-modal.gjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default class ModalDiffModal extends Component {
8787
subscribe() {
8888
this.messageBus.subscribe(
8989
CHANNEL,
90-
(data) => this.updateResult(data),
90+
this.updateResult,
9191
this.currentUser
9292
?.discourse_ai_composer_helper_stream_suggestion_last_message_bus_id
9393
);

0 commit comments

Comments
 (0)