Skip to content

Commit

Permalink
resolve code quality issue
Browse files Browse the repository at this point in the history
  • Loading branch information
usavkov-epam committed Dec 2, 2024
1 parent 9c5dd30 commit 26f8f88
Showing 1 changed file with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,13 @@ export const DownloadAllocationWorksheetModal = ({
const isConfirmButtonDisabled = !selectedFiscalYear || isFiscalYearsFetching;

const message = (
<>
<Selection
label={<><FormattedMessage id="ui-finance.fiscalyear" /> {isFiscalYearsFetching && <Loading />}</>}
dataOptions={dataOptions}
value={selectedFiscalYear}
onChange={setSelectedFiscalYear}
disabled={isFiscalYearsFetching}
/>
</>
<Selection
label={<><FormattedMessage id="ui-finance.fiscalyear" /> {isFiscalYearsFetching && <Loading />}</>}
dataOptions={dataOptions}
value={selectedFiscalYear}
onChange={setSelectedFiscalYear}
disabled={isFiscalYearsFetching}
/>
);

return (
Expand Down

0 comments on commit 26f8f88

Please sign in to comment.