Commit ee502c14 authored by Joel's avatar Joel

chore: defalut tab create

parent 8d64c6e4
...@@ -59,7 +59,7 @@ const TextGeneration: FC<IMainProps> = ({ ...@@ -59,7 +59,7 @@ const TextGeneration: FC<IMainProps> = ({
const isTablet = media === MediaType.tablet const isTablet = media === MediaType.tablet
const isMobile = media === MediaType.mobile const isMobile = media === MediaType.mobile
const [currTab, setCurrTab] = useState<string>('batch') const [currTab, setCurrTab] = useState<string>('create')
// Notice this situation isCallBatchAPI but not in batch tab // Notice this situation isCallBatchAPI but not in batch tab
const [isCallBatchAPI, setIsCallBatchAPI] = useState(false) const [isCallBatchAPI, setIsCallBatchAPI] = useState(false)
const isInBatchTab = currTab === 'batch' const isInBatchTab = currTab === 'batch'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment