Skip to content

Commit

Permalink
fix: Show favorites always (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Li <[email protected]>
  • Loading branch information
2 people authored and Juan Gallicchio committed Apr 4, 2024
1 parent 008992e commit ced9508
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/library/GenerateNominations/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ export const GenerateNominations = ({

// refetch if fetching is triggered
useEffect(() => {
if (fetching && method === 'From Favorites') {
fetchNominationsForMethod();
return;
}
if (
!isReady ||
!validators.length ||
Expand Down Expand Up @@ -221,6 +225,7 @@ export const GenerateNominations = ({
onClick: () => {
setMethod('Manual');
setNominations([]);
setFetching(false);
},
},
];
Expand Down

0 comments on commit ced9508

Please sign in to comment.