Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit 789b756

Browse files
authored
fix: ensure the state is set (#30)
1 parent 35f482a commit 789b756

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/components/BlobAnnotator.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ export class BlobAnnotator extends React.Component<Props, State> {
7474
constructor(props: Props) {
7575
super(props)
7676

77+
this.state = {}
78+
7779
this.fileExtension = getPathExtension(this.props.filePath)
7880
this.isDelta = this.props.isDelta || (this.props.isCommit || this.props.isPullRequest)
7981
this.updateCodeCells()

0 commit comments

Comments
 (0)