Skip to content

Commit

Permalink
Renamed component and filename to ChatScreenFooter
Browse files Browse the repository at this point in the history
  • Loading branch information
dyland88 committed Feb 28, 2024
1 parent b7ffcc0 commit b266c2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/components/Chat/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { LocationProvider } from "../../contexts/LocationContext";
import { useSocket } from "../../contexts/SocketContext";
import { useLocation } from "../../contexts/LocationContext";
import { AuthStore } from "../../services/store";
import { ChatMessageFooter } from "../Common/ChatMessageFooter"
import { ChatScreenFooter } from "../Common/ChatScreenFooter"

const ChatScreen = () => {
const settings = useSettings();
Expand Down Expand Up @@ -105,7 +105,7 @@ const ChatScreen = () => {
<MessageChannel messages={messages} />
</View>
<View style={styles.footerContainer}>
<ChatMessageFooter
<ChatScreenFooter
value={messageContent}
onChangeText={(text: string) => {
setMessageContent(text);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface ChatInputProps {
onSend?: () => void,
}

export const ChatMessageFooter: React.FC<ChatInputProps> = ({ value, onChangeText, onSend }) => {
export const ChatScreenFooter: React.FC<ChatInputProps> = ({ value, onChangeText, onSend }) => {



Expand Down

0 comments on commit b266c2a

Please sign in to comment.