don't allow claims from future to be rendered
This commit is contained in:
parent
9801f43d3e
commit
aa4886344e
1 changed files with 7 additions and 0 deletions
|
@ -273,6 +273,13 @@ function ClaimListDiscover(props: Props) {
|
|||
.startOf('week')
|
||||
.unix()
|
||||
)}`;
|
||||
} else {
|
||||
// Hack for at least the New page until https://github.com/lbryio/lbry-sdk/issues/2591 is fixed
|
||||
options.release_time = `<${Math.floor(
|
||||
moment()
|
||||
.startOf('minute')
|
||||
.unix()
|
||||
)}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue