Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-yves-monnet committed Jun 5, 2024
1 parent 463c169 commit 575308d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/frontend/src/content/Content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// -----------------------------------------------------------

import React,{ createRef } from 'react';
import {Button, FileUploader, Tag} from "carbon-components-react";
import {ArrowRepeat, ConeStriped} from "react-bootstrap-icons";
import {Button, FileUploader} from "carbon-components-react";
import {ArrowRepeat} from "react-bootstrap-icons";
import ControllerPage from "../component/ControllerPage";
import RestCallService from "../services/RestCallService";

Expand Down Expand Up @@ -124,7 +124,7 @@ class Content extends React.Component {
onChange={(event) => this.handleFileChange(event)}
multiple
iconDescription="Clear file"
disabled={this.state.display.loading || this.state.files.size == 0}
disabled={this.state.display.loading || this.state.files.size === 0}
/>
<Button onClick={() => this.loadJar()} disabled={this.state.display.loading}>Upload</Button>
<br/>
Expand Down

0 comments on commit 575308d

Please sign in to comment.