Skip to content

Commit

Permalink
fix: then null prop
Browse files Browse the repository at this point in the history
  • Loading branch information
v0l committed Jun 18, 2024
1 parent 87a2742 commit dd45d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app/src/Pages/Root/ForYouTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(() => {
Expand Down

0 comments on commit dd45d1f

Please sign in to comment.