Fix: Promptbar initializes in open state for Mobile (#542)
* Fix for DEFAULT_SYSTEM_PROMPT * Set the prompt bar to be hidden if screen < 640
This commit is contained in:
committed by
GitHub
parent
f01d0c51d6
commit
7c259b98cb
@@ -275,6 +275,7 @@ const Home = ({
|
||||
|
||||
if (window.innerWidth < 640) {
|
||||
dispatch({ field: 'showChatbar', value: false });
|
||||
dispatch({ field: 'showPromptbar', value: false });
|
||||
}
|
||||
|
||||
const showChatbar = localStorage.getItem('showChatbar');
|
||||
|
||||
Reference in New Issue
Block a user