mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-10-30 10:05:58 +01:00
apply eslint and prettier rules
This commit is contained in:
@@ -28,11 +28,7 @@ class ChangesetDiff extends React.Component<Props> {
|
||||
render() {
|
||||
const { changeset, defaultCollapse, t } = this.props;
|
||||
if (!this.isDiffSupported(changeset)) {
|
||||
return (
|
||||
<Notification type="danger">
|
||||
{t("changeset.diffNotSupported")}
|
||||
</Notification>
|
||||
);
|
||||
return <Notification type="danger">{t("changeset.diffNotSupported")}</Notification>;
|
||||
} else {
|
||||
const url = this.createUrl(changeset);
|
||||
return <LoadingDiff url={url} defaultCollapse={defaultCollapse} />;
|
||||
|
||||
Reference in New Issue
Block a user