diff --git a/mobile/src/components/features/chat-space/ChatInterface.tsx b/mobile/src/components/features/chat-space/ChatInterface.tsx index 7e350b2b8..1c7b68e8a 100644 --- a/mobile/src/components/features/chat-space/ChatInterface.tsx +++ b/mobile/src/components/features/chat-space/ChatInterface.tsx @@ -99,7 +99,7 @@ export const ChatInterface = ({ channel }: { channel: ChannelListItem | DMChanne return [] }, [channelMembers]) - const checkIsOpenChannel = () => (channel.type !== 'Open' && !channel.is_direct_message) + const checkIsNotOpenChannel = () => (channel.type !== 'Open' && !channel.is_direct_message) return ( <> @@ -107,21 +107,22 @@ export const ChatInterface = ({ channel }: { channel: ChannelListItem | DMChanne
- +
{ - checkIsOpenChannel() ? - : + checkIsNotOpenChannel() ? - + : + + }
{/* TO-DO: Add Other optional buttons here later */}
diff --git a/mobile/src/components/ui/input.tsx b/mobile/src/components/ui/input.tsx index 57d786901..ca5bc028d 100644 --- a/mobile/src/components/ui/input.tsx +++ b/mobile/src/components/ui/input.tsx @@ -8,7 +8,6 @@ export interface InputProps const Input = React.forwardRef( ({ className, type, ...props }, ref) => { - console.log("props", props) return (