Skip to content

Commit 8d734da

Browse files
authored
Merge pull request #2899 from IntersectMBO/fix/2889-missing-no-drep-found-message-when-searching-for-a-non-listed-drep
fix(#2889): missing "No DRep found" on DRep directory
2 parents ef73715 + 80bff9c commit 8d734da

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ changes.
2020
- Handle exception when no index is provided to /proposal/get endpoint [Issue 1841](https://github.com/IntersectMBO/govtool/issues/1841)
2121
- Fix displaying vote pill on voted on cards
2222
- Fix incorrect link to learn more about direct voters [Issue 2647](https://github.com/IntersectMBO/govtool/issues/2647)
23+
- Fix missing No DRep found message on DRep Directory [Issue 2889](https://github.com/IntersectMBO/govtool/issues/2889)
2324

2425
### Changed
2526

govtool/frontend/src/pages/DRepDirectoryContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export const DRepDirectoryContent: FC<DRepDirectoryContentProps> = ({
217217
flex: 1,
218218
}}
219219
>
220-
{dRepList?.length === 0 && <EmptyStateDrepDirectory />}
220+
{dRepListToDisplay?.length === 0 && <EmptyStateDrepDirectory />}
221221
{dRepListToDisplay?.map((dRep) => (
222222
<Box key={dRep.view} component="li" sx={{ listStyle: "none" }}>
223223
<DRepCard

0 commit comments

Comments
 (0)