Skip to content

Commit

Permalink
fix: small fix in crn table filters hook
Browse files Browse the repository at this point in the history
  • Loading branch information
amalcaraz committed Feb 12, 2024
1 parent ee9d697 commit 18cba09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/pages/computing/useNewInstanceCRNListPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export function useNewInstanceCRNListPage(): UseNewInstanceCRNListPage {
)

const validPAYGNodes = useMemo(() => {
if (!baseFilteredNodes) return baseFilteredNodes
if (!baseFilteredNodes) return
if (!nodesIssues) return baseFilteredNodes

return baseFilteredNodes.filter((node) => !nodesIssues[node.hash])
Expand Down

0 comments on commit 18cba09

Please sign in to comment.