Skip to content

Commit

Permalink
Merge pull request #86 from tgxn/no_more
Browse files Browse the repository at this point in the history
add to reports
  • Loading branch information
tgxn authored Oct 31, 2023
2 parents b17e84f + fae67f3 commit a444713
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/Reports.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Box from "@mui/joy/Box";
import Button from "@mui/joy/Button";
import Sheet from "@mui/joy/Sheet";
import CircularProgress from "@mui/joy/CircularProgress";
import Divider from "@mui/joy/Divider";

import SoapIcon from "@mui/icons-material/Soap";

Expand Down Expand Up @@ -142,6 +143,7 @@ export default function Reports() {

<ReportsList reportsList={reportsList} />

{reportsList.length > 0 && !hasNextPageReports && <Divider variant="plain">no more items</Divider>}
{hasNextPageReports && (
<Box
ref={ref}
Expand Down

0 comments on commit a444713

Please sign in to comment.