fix hover blinking on enable AI icon

pull/5370/head
aniket-engg 6 months ago committed by Aniket
parent 31c26ccd25
commit 5878e977ac
  1. 4
      libs/remix-ui/tabs/src/lib/remix-ui-tabs.tsx

@ -234,7 +234,7 @@ export const TabsUI = (props: TabsUIProps) => {
<button
data-id="explain-editor"
id='explain_btn'
className='btn text-ai pl-2 pr-0 py-0 d-flex'
className='btn text-ai pl-2 pr-0 py-0'
disabled={!(tabsState.currentExt === 'sol') || explaining}
onClick={async () => {
const path = active().substr(active().indexOf('/') + 1, active().length)
@ -268,7 +268,7 @@ export const TabsUI = (props: TabsUIProps) => {
<button
data-id="remix_ai_switch"
id='remix_ai_switch'
className="btn ai-switch text-ai pl-2 pr-0 py-0 d-flex"
className="btn ai-switch text-ai pl-2 pr-0 py-0"
disabled={!(tabsState.currentExt === 'sol' )}
onClick={async () => {
await props.plugin.call('settings', 'updateCopilotChoice', !ai_switch)

Loading…
Cancel
Save