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