@@ -314,17 +314,18 @@ export const MainView: React.FC<Props> = (props) => {
314314 </ div >
315315 < Scrollable scroll_to_top_key = { scroll_to_top_key } >
316316 < div className = { styles . content } >
317+ < UiSeparator height = { 4 } />
317318 { props . response_history . length > 0 && (
318319 < >
319- < UiSeparator height = { 4 } />
320320 < div className = { styles . responses } >
321321 { props . response_history . map ( ( item ) => (
322322 < button
323323 key = { item . created_at }
324324 className = { cn ( styles [ 'responses__item' ] , {
325325 [ styles [ 'responses__item--selected' ] ] :
326+ props . response_history . length > 1 &&
326327 props . selected_history_item_created_at ==
327- item . created_at
328+ item . created_at
328329 } ) }
329330 title = { item . raw_instructions }
330331 onClick = { ( ) => {
@@ -362,13 +363,14 @@ export const MainView: React.FC<Props> = (props) => {
362363 </ >
363364 ) }
364365
365- < UiSeparator height = { 4 } />
366-
367366 { ! props . is_connected &&
368- props . home_view_type == HOME_VIEW_TYPES . WEB && (
369- < div className = { styles [ 'browser-extension-message' ] } >
370- < UiBrowserExtensionMessage />
371- </ div >
367+ props . home_view_type == HOME_VIEW_TYPES . WEB &&
368+ ! props . response_history . length && (
369+ < >
370+ < div className = { styles [ 'browser-extension-message' ] } >
371+ < UiBrowserExtensionMessage />
372+ </ div >
373+ </ >
372374 ) }
373375
374376 < div className = { styles [ 'chat-input' ] } >
@@ -504,20 +506,18 @@ export const MainView: React.FC<Props> = (props) => {
504506 </ Scrollable >
505507
506508 < div className = { styles . footer } >
507- < div className = { styles . footer__left } >
508- < a
509- className = { cn (
510- styles . footer__button ,
511- styles [ 'footer__button--buy-me-a-coffee' ]
512- ) }
513- href = "https://buymeacoffee.com/robertpiosik"
514- title = "Support author"
515- onMouseEnter = { ( ) => set_is_buy_me_coffee_hovered ( true ) }
516- onMouseLeave = { ( ) => set_is_buy_me_coffee_hovered ( false ) }
517- >
518- < Icon variant = "BUY_ME_A_COFFEE_LOGO" />
519- </ a >
520- </ div >
509+ < a
510+ className = { cn (
511+ styles . footer__button ,
512+ styles [ 'footer__button--buy-me-a-coffee' ]
513+ ) }
514+ href = "https://buymeacoffee.com/robertpiosik"
515+ title = "Support author"
516+ onMouseEnter = { ( ) => set_is_buy_me_coffee_hovered ( true ) }
517+ onMouseLeave = { ( ) => set_is_buy_me_coffee_hovered ( false ) }
518+ >
519+ < Icon variant = "BUY_ME_A_COFFEE_LOGO" />
520+ </ a >
521521 < div className = { styles . footer__right } >
522522 { props . home_view_type == HOME_VIEW_TYPES . WEB && (
523523 < button
0 commit comments