Skip to content

Commit c8ba556

Browse files
committed
fix: change default value of ReviewTimeout undefined -> zero
1 parent a20d43e commit c8ba556

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/useLinguo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const useLinguoApi = () => {
9898

9999
const getReviewTimeout = (_address = address) => {
100100
const timeout = _call(_address, Linguo.abi, LinguoInteraction.reviewTimeout);
101-
return (timeout && timeout.toString()) || undefined;
101+
return (timeout && timeout.toString()) || 0;
102102
};
103103

104104
const getRewardPoolParams = () => {

0 commit comments

Comments
 (0)