diff --git a/.env.example b/.env.example index 0c9ce30..dc111e3 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ EXPO_PUBLIC_ENVIRONMENT=development -EXPO_PUBLIC_SHARE_URL=http://localhost:3000 +EXPO_PUBLIC_SHARE_URL=http://localhost:8081 EXPO_PUBLIC_API_V2_URL=https://staging-api.ansari.chat/api/v2 EXPO_PUBLIC_API_TIMEOUT=60000 diff --git a/src/components/chat/MessageBubble.tsx b/src/components/chat/MessageBubble.tsx index c9767f2..2582652 100644 --- a/src/components/chat/MessageBubble.tsx +++ b/src/components/chat/MessageBubble.tsx @@ -141,11 +141,13 @@ const markdownStyles = { flexDirection: 'row', fontSize: 18, lineHeight: 24, + marginVertical: 5, }, heading3: { flexDirection: 'row', fontSize: 18, lineHeight: 24, + marginVertical: 5, }, heading4: { flexDirection: 'row', diff --git a/src/components/chat/MessageList.tsx b/src/components/chat/MessageList.tsx index c10057f..eb3da11 100644 --- a/src/components/chat/MessageList.tsx +++ b/src/components/chat/MessageList.tsx @@ -48,7 +48,7 @@ const MessageList = forwardRef( const { isSmallScreen, height } = useScreenInfo(sideMenuWidth) const theme = useSelector((state: RootState) => state.theme.theme) - if (isLoading && !isSending) { + if (isLoading && !isSending && !activeThread) { return ( diff --git a/src/components/chat/ReactionButtons.tsx b/src/components/chat/ReactionButtons.tsx index b8b4734..b13d817 100644 --- a/src/components/chat/ReactionButtons.tsx +++ b/src/components/chat/ReactionButtons.tsx @@ -87,7 +87,7 @@ const ReactionButtons: React.FC = ({ threadId, messageId, } return ( - + {feedbackOptions.map((option) => (