fix: then null prop
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
kieran 2024-06-18 10:52:13 +01:00
parent 87a2742c26
commit dd45d1f428
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -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(() => {