This commit is contained in:
parent
87a2742c26
commit
dd45d1f428
@ -112,7 +112,7 @@ export const ForYouTab = memo(function ForYouTab() {
|
|||||||
if (!getForYouFeedPromise && Relay instanceof WorkerRelayInterface) {
|
if (!getForYouFeedPromise && Relay instanceof WorkerRelayInterface) {
|
||||||
getForYouFeedPromise = Relay.forYouFeed(login.publicKey);
|
getForYouFeedPromise = Relay.forYouFeed(login.publicKey);
|
||||||
}
|
}
|
||||||
getForYouFeedPromise!.then(notes => {
|
getForYouFeedPromise?.then(notes => {
|
||||||
getForYouFeedPromise = null;
|
getForYouFeedPromise = null;
|
||||||
if (notes.length < 10) {
|
if (notes.length < 10) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user