Skip to content

Commit

Permalink
Update RepositoriesList.js (#216)
Browse files Browse the repository at this point in the history
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 e97b03a commit bc122f9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/Components/Repositories/RepositoriesList.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import PlaceholderList from "../Placeholder/PlaceholderList";
import useLoadAll from "../../Hooks/useLoadAll";
import classNames from "classnames";
import RepositoryItem from "./RepositoryItem";
import UpdateBadge from "../Layout/UpdateBadge";
import { ProgressBar, UpdateBadge } from "../Layout";

const Repositories = () => {
const [repositories, allRepositoriesLoaded, lastModified] = useLoadAll(
Expand Down Expand Up @@ -30,16 +30,7 @@ const Repositories = () => {
{!allRepositoriesLoaded && (
<>
<br />
<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>
<ProgressBar />
</>
)}
{allRepositoriesLoaded && <UpdateBadge date={lastModified} />}
Expand Down

0 comments on commit bc122f9

Please sign in to comment.