|
|
|
@ -73,7 +73,7 @@ export const TabsUI = (props: TabsUIProps) => { |
|
|
|
|
const [explaining, setExplaining] = useState<boolean>(false) |
|
|
|
|
const tabsRef = useRef({}) |
|
|
|
|
const tabsElement = useRef(null) |
|
|
|
|
const [ai_switch, setAI_switch] = useState<boolean>(false) |
|
|
|
|
const [ai_switch, setAI_switch] = useState<boolean>(true) |
|
|
|
|
const tabs = useRef(props.tabs) |
|
|
|
|
tabs.current = props.tabs // we do this to pass the tabs list to the onReady callbacks
|
|
|
|
|
|
|
|
|
|