Merge pull request #85 from AprilNEA/fix-mobile

fix: fix #82, close sidebar after new session
main
Yifei Zhang 2 years ago committed by GitHub
commit 939402b2d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -561,7 +561,10 @@ export function Home() {
<IconButton
icon={<AddIcon />}
text={Locale.Home.NewChat}
onClick={createNewSession}
onClick={()=>{
createNewSession();
setShowSideBar(false);
}}
/>
</div>
</div>

Loading…
Cancel
Save