mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-29 18:46:59 +00:00
fmt(js): npm run fix on merge (#67311)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
fe3e5cf8aa
commit
e598cef874
1 changed files with 4 additions and 1 deletions
|
|
@ -109,5 +109,8 @@ export function usePluginI18n(pluginId: string): PluginTranslate {
|
|||
// reads the live registry, so the memoized closure needs only id + locale.
|
||||
useStore($version)
|
||||
|
||||
return useCallback((key: string, ...args: unknown[]) => translatePlugin(pluginId, locale, key, args), [pluginId, locale])
|
||||
return useCallback(
|
||||
(key: string, ...args: unknown[]) => translatePlugin(pluginId, locale, key, args),
|
||||
[pluginId, locale]
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue