File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
http-equiv ="Content-Security-Policy "
9
9
content ="script-src 'self' 'unsafe-inline'; "
10
10
/>
11
- < title > Local AI</ title >
11
+ < title > Dynaboard AI Studio </ title >
12
12
</ head >
13
13
< body >
14
14
< div id ="root "> </ div >
Original file line number Diff line number Diff line change @@ -176,10 +176,10 @@ export function ChatWindow({ id }: { id?: string }) {
176
176
} , [ currentThreadFilePath , selectedFile ] )
177
177
178
178
useEffect ( ( ) => {
179
- if ( ! isCurrentThreadGenerating && textAreaInputRef . current ) {
179
+ if ( id && ! isCurrentThreadGenerating && textAreaInputRef . current ) {
180
180
textAreaInputRef . current . focus ( )
181
181
}
182
- } , [ isCurrentThreadGenerating ] )
182
+ } , [ isCurrentThreadGenerating , id ] )
183
183
184
184
useEffect ( ( ) => {
185
185
if ( id ) {
You can’t perform that action at this time.
0 commit comments