Skip to content

Commit

Permalink
fix add comment to function isEditFocused
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanDylann committed Sep 20, 2023
1 parent 927d1a7 commit 4f88426
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/ReportActionComposeFocusManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ function clear(isMainComposer = false) {
function isFocused(): boolean {
return !!composerRef.current?.isFocused();
}

/**
* Exposes the current focus state of the edit message composer.
*/
function isEditFocused(): boolean {
return !!editComposerRef.current?.isFocused();
}
Expand Down

0 comments on commit 4f88426

Please sign in to comment.