- Refactored fetchHistoryMessages and deleteMessage actions in ChatStore to use MobX flow for handling async operations.
- Updated calls to these actions in MessageHeader and ChatPanel components to handle promises returned by these actions.
- Replaced Redux hooks with MobX hooks in MessageContainer and MessageHeader components.
- Removed Redux actions and replaced them with equivalent MobX actions.
- Updated event handlers to use MobX actions instead of Redux actions.
- Replaced Redux selectors with equivalent MobX observables.
- Converted MessageContainer and MessageHeader components to observer components.
- Added marginRight of 10px to the container holding the ActionIcon in MessageHeader.
- Also applied marginRight of 10px to the ActionIcon itself for consistent spacing.
- Moved Icons.tsx from views to components/ChatIcons folder.
- Updated import path for Icons in InputMessage/index.tsx.
- Moved avatar_devchat.svg, avatar_spaceman.png, and avatar_user.svg from views to components/MessageHeader folder.
- Updated import paths for avatar images in MessageHeader/index.tsx.