add loaded page number
This commit is contained in:
parent
d5b2aeb673
commit
b0ff34f097
@ -55,6 +55,10 @@ export const GalleryInfo = (props: GalleryProp) => {
|
||||
gallery={`/search?${queryString}`} short />);
|
||||
})
|
||||
}
|
||||
<Typography variant="body1" sx={{
|
||||
justifyContent: "center",
|
||||
textAlign:"center"
|
||||
}}>{state.documents.length} loaded...</Typography>
|
||||
<Button onClick={()=>loadMore()} disabled={loadAll}>{loadAll ? "Load All" : "Load More"}</Button>
|
||||
</Box>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user