Skip to content

Commit

Permalink
Merge pull request #869 from IntersectMBO/fix/861-drep-explorer-when-…
Browse files Browse the repository at this point in the history
…one-item-is-shown-show-more-button-is-also-shown-and-disappears-when-clicked

fix/861-drep-explorer-when-one-item-is-shown-show-more-button-is-also-shown-and-disappears-when-clicked
  • Loading branch information
Sworzen1 authored Apr 29, 2024
2 parents 38db8ce + be58a70 commit 38fbb34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govtool/frontend/src/pages/DRepDirectoryContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const DRepDirectoryContent: FC<DRepDirectoryContentProps> = ({
})}
</Box>
</>
{dRepListHasNextPage && (
{dRepListHasNextPage && dRepList.length >= 10 && (
<Box sx={{ justifyContent: "center", display: "flex" }}>
<Button
data-testid="show-more-button"
Expand Down

0 comments on commit 38fbb34

Please sign in to comment.