Skip to content

Commit 50470ce

Browse files
committed
Add return type and update description
1 parent 1f4078a commit 50470ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/CommitBox.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ export class CommitBox extends React.Component<
6666
/**
6767
* Renders the component.
6868
*
69-
* @returns fragment
69+
* @returns React element
7070
*/
71-
render() {
71+
render(): React.ReactElement {
7272
const disabled = !(this.props.hasFiles && this.state.summary);
7373
return (
7474
<form className={commitFormClass}>

0 commit comments

Comments
 (0)