Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add loading bubble on chat screen #85

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: undo unnecessary changes
  • Loading branch information
a-ghorbani committed Nov 9, 2024
commit 29a4ee311ed0b994ef6e25d8f6fa4ef6b0bdbc59
16 changes: 7 additions & 9 deletions src/screens/ChatScreen/ChatScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ const renderBubble = ({
child: ReactNode;
message: MessageType.Any;
nextMessageInGroup: boolean;
}) => {
return (
<Bubble
child={child}
message={message}
nextMessageInGroup={nextMessageInGroup}
/>
);
};
}) => (
<Bubble
child={child}
message={message}
nextMessageInGroup={nextMessageInGroup}
/>
);

export const ChatScreen: React.FC = observer(() => {
const context = modelStore.context;
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "@react-native/typescript-config/tsconfig.json",
"compilerOptions": {
"jsx": "react",
"noImplicitAny": false,
}
}
Loading