Skip to content

Commit 7794eca

Browse files
committed
Add return type
1 parent cf20b93 commit 7794eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Toolbar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export class Toolbar extends React.Component<IToolbarProps, IToolbarState> {
302302
/**
303303
* Syncs the component state with the underlying model.
304304
*/
305-
private _syncState() {
305+
private _syncState(): void {
306306
const repo = this.props.model.pathRepository;
307307
this.setState({
308308
repository: repo || '',

0 commit comments

Comments
 (0)