Skip to content

Commit

Permalink
fix: convos in pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Jan 4, 2025
1 parent 945103e commit 9103a35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/bluesky/hooks/useConversation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,7 @@ export function useConversation({ convoId }: { convoId: string }) {
};
},
enabled: !!agent && isAuthenticated,
// 30s
staleTime: 30 * 1000,
});
}
2 changes: 1 addition & 1 deletion src/routes/messages/$convoId.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function Messages() {
<Helmet>
<title>{t('chat')}</title>
</Helmet>
<div className="flex flex-col h-screen border-x">
<div className="flex flex-col h-screen-safe border-x">
<div className="w-full p-2 bg-black border-b border-b-neutral-700 flex flex-row gap-2">
<Avatar avatar={otherMember.avatar} handle={otherMember.handle} />
<Handle handle={otherMember.handle} />
Expand Down

0 comments on commit 9103a35

Please sign in to comment.