Skip to content

Commit

Permalink
Update IssuesList.js (#214)
Browse files Browse the repository at this point in the history
* Update IssuesList.js

* Update IssuesList.js

---------

Co-authored-by: gstraccini[bot] <150967461+gstraccini[bot]@users.noreply.github.com>
  • Loading branch information
guibranco and gstraccini[bot] authored Jun 8, 2024
1 parent 786a2af commit 3d99024
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions src/Components/Issues/IssuesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useSearchParams } from "react-router-dom";
import toastr from "toastr";
import useFetch from "../../Hooks/useFetch";
import GetParams from "../../Helpers/GetParams";
import { Controls, Pagination } from "../Layout";
import { Controls, Pagination, ProgressBar} from "../Layout";
import PlaceholderList from "../Placeholder/PlaceholderList";
import classNames from "classnames";
import IssueItem from "./IssueItem";
Expand Down Expand Up @@ -97,18 +97,7 @@ const IssuesList = () => {
{state.loading ? "Carregando..." : totalIssues}
</span>
<br />
{state.loading && (
<div className="progress">
<div
className="progress-bar bg-success progress-bar-striped progress-bar-animated"
role="progressbar"
style={{ width: "50%" }}
aria-valuenow="50"
aria-valuemin="0"
aria-valuemax="100"
></div>
</div>
)}
{state.loading && <ProgressBar />}
{!state.loading && state.lastModified && (
<UpdateBadge
date={state.lastModified}
Expand Down

0 comments on commit 3d99024

Please sign in to comment.