chore: add selector for use app store (#3746)
This commit is contained in:
parent
a39de8a686
commit
0715db7681
5 changed files with 19 additions and 5 deletions
|
|
@ -30,7 +30,7 @@ const AgentLogDetail: FC<AgentLogDetailProps> = ({
|
|||
const { t } = useTranslation()
|
||||
const { notify } = useContext(ToastContext)
|
||||
const [currentTab, setCurrentTab] = useState<string>(activeTab)
|
||||
const { appDetail } = useAppStore()
|
||||
const appDetail = useAppStore(s => s.appDetail)
|
||||
const [loading, setLoading] = useState<boolean>(true)
|
||||
const [runDetail, setRunDetail] = useState<AgentLogDetailResponse>()
|
||||
const [list, setList] = useState<AgentIteration[]>([])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue