Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-sg committed Jan 8, 2025
1 parent 8965df6 commit c6b39ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/pages/org/collection-detail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class CollectionDetail extends BtrixElement {
if (this.descriptionEditor) {
// FIXME Focus on editor ready instead of timeout
window.setTimeout(() => {
void this.descriptionEditor?.focus();
this.descriptionEditor && void this.descriptionEditor.focus();
}, 200);
}
}
Expand Down

0 comments on commit c6b39ff

Please sign in to comment.