mirror of
https://github.com/lux-tel/session-desktop.git
synced 2026-10-30 20:33:24 +00:00
18 lines
524 B
TypeScript
18 lines
524 B
TypeScript
import { useAppIsFocused } from '../hooks/useAppFocused';
|
|
|
|
import { SmartSessionConversation } from '../state/smart/SessionConversation';
|
|
import { useHTMLDirection } from '../util/i18n/rtlSupport';
|
|
|
|
export const SessionMainPanel = () => {
|
|
const htmlDirection = useHTMLDirection();
|
|
|
|
// even if it looks like this does nothing, this does update the redux store.
|
|
useAppIsFocused();
|
|
|
|
return (
|
|
<div className="session-conversation">
|
|
<SmartSessionConversation htmlDirection={htmlDirection} />
|
|
</div>
|
|
);
|
|
};
|