fix infinite loading indicator on empty commit results
Created by: sqs
If a commit is empty (i.e., it contains no changes, which is possible with e.g. git commit --allow-empty
), then this.state.HTML === ''
. This causes the loading indicator to be shown forever. Instead, it should check for undefined
.