diff --git a/web/app/components/plugins/plugin-item/index.tsx b/web/app/components/plugins/plugin-item/index.tsx index 1b853a4d4c..469af683b8 100644 --- a/web/app/components/plugins/plugin-item/index.tsx +++ b/web/app/components/plugins/plugin-item/index.tsx @@ -65,9 +65,9 @@ const PluginItem: FC = ({ if (PluginType.tool.includes(category)) invalidateAllToolProviders() } - const renderI18nObject = useRenderI18nObject() - const title = renderI18nObject(label) - const descriptionText = renderI18nObject(description) + const getValueFromI18nObject = useRenderI18nObject() + const title = getValueFromI18nObject(label) + const descriptionText = getValueFromI18nObject(description) return (