refactor(HomePage): add id attribute to HStack and remove redundant id from Container for improved structure

This commit is contained in:
kangfenmao 2025-06-12 11:28:13 +08:00
parent b16d0069bf
commit d9def89ced

View File

@ -19,9 +19,9 @@ const HomePage: FC<{ style?: React.CSSProperties }> = ({ style }) => {
}, [showAssistants, showTopics, topicPosition])
return (
<HStack style={{ display: 'flex', flex: 1 }}>
<HStack style={{ display: 'flex', flex: 1 }} id="home-page">
<MainSidebar />
<Container id="home-page" style={style}>
<Container style={style}>
<ChatNavbar />
<ContentContainer id="content-container">
<Chat />