Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
switch to null if non-existent
Browse files Browse the repository at this point in the history
  • Loading branch information
Alun Turner committed Jun 15, 2023
1 parent e98a279 commit 140d97a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/web/lib/useWysiwyg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ export function useWysiwyg(wysiwygProps?: WysiwygProps) {
},
suggestion: memoisedMappedSuggestion,
getMessageHTMLContent: () =>
composerModel?.get_content_as_message_html() ?? '',
composerModel?.get_content_as_message_html() ?? null,
};
}

0 comments on commit 140d97a

Please sign in to comment.