Skip to content

Commit

Permalink
Removed unnecessary prop for nearby user counter (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyland88 authored Nov 7, 2024
1 parent 1db9dd9 commit 33ee2af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/app/screens/chat/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { Message } from "../../types/Message";
import { useState, useEffect } from "react";
import { useUser } from "@app/contexts/UserContext";
import NearbyHeader from "@app/components/chat/NearbyHeader";
import React from "react";

const ChatScreen = () => {
const settings = useSettings();
Expand Down Expand Up @@ -90,9 +91,7 @@ const ChatScreen = () => {
Platform.OS === "ios" ? screenHeight * 0.055 : 0
}>
<View style={styles.mainContainer}>
<NearbyHeader
count = {5} //test count value
/>
<NearbyHeader />
<View style={styles.chatContainer}>
<MessageChannel messages={messages} />
</View>
Expand Down

0 comments on commit 33ee2af

Please sign in to comment.