mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix(useAgents): add missing dependencies to useCallback hook
This commit is contained in:
parent
4b1f7db506
commit
4e9340f551
@ -55,7 +55,7 @@ export const useAgents = () => {
|
|||||||
window.toast.error(formatErrorMessageWithPrefix(error, t('agent.delete.error.failed')))
|
window.toast.error(formatErrorMessageWithPrefix(error, t('agent.delete.error.failed')))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
[client, mutate, t]
|
[activeAgentId, client, data, dispatch, mutate, t]
|
||||||
)
|
)
|
||||||
|
|
||||||
const getAgent = useCallback(
|
const getAgent = useCallback(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user