Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
haileyok committed Apr 30, 2024
1 parent 2b3343b commit b9d9854
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/screens/Messages/Conversation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,11 @@ type Props = NativeStackScreenProps<
>
export function MessagesConversationScreen({route}: Props) {
const gate = useGate()

const chatId = route.params.conversation

const {currentAccount} = useSession()
const myDid = currentAccount?.did

const {data: chat, isError: isError} = useChatQuery(chatId)

const otherProfile = React.useMemo(() => {
return chat?.members?.find(m => m.did !== myDid)
}, [chat?.members, myDid])
Expand Down

0 comments on commit b9d9854

Please sign in to comment.