Skip to content

Commit 27574e0

Browse files
authored
Merge pull request #1 from c-warren/cwarren/tiwhwydpbmc
get more typescripty for lint
2 parents cbc4518 + bf3bd24 commit 27574e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/domain-page/hooks/use-domain-failover-history/get-domain-failover-history-query-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function getDomainFailoverHistoryQueryOptions(
2727
})
2828
).then((res) => res.json()),
2929
initialPageParam: undefined,
30-
getNextPageParam: (res) => res.nextPageToken != "" ? res.nextPageToken : undefined,
30+
getNextPageParam: (res) => res.nextPageToken || undefined,
3131
retry: false,
3232
};
3333
}

0 commit comments

Comments
 (0)