Skip to content

Commit

Permalink
refactor: General cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
PintoGideon committed Apr 26, 2024
1 parent c725f08 commit f05db18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/LibraryCopy/BreadcrumbContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const BreadcrumbContainer = ({
handleFolderClick("/" + newPath);
}
}}
key={index}
key={`${path}`}
to="#"
>
{index === 0 ? <HomeIcon /> : path}
Expand Down
5 changes: 2 additions & 3 deletions src/components/LibraryCopy/Cart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ export default function Cart() {
</>
}
style={{ width: "100%", marginTop: "3em", padding: "2em" }}
></Alert>
/>
{alert && <Alert type="error" description={alert} />}
{progress.currentProgress > 0 && (
<Progress
Expand All @@ -229,7 +229,6 @@ export default function Cart() {
</AlertGroup>
</>
);
} else {
return null;
}
return null;
}

0 comments on commit f05db18

Please sign in to comment.