From 04545e792c60b91b42e712d8787ba8b07b1bcb25 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:51:37 +1100 Subject: [PATCH] fix(ui): fix lora metadata rendering --- .../web/src/features/metadata/components/MetadataLoRAs.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/metadata/components/MetadataLoRAs.tsx b/invokeai/frontend/web/src/features/metadata/components/MetadataLoRAs.tsx index 3225a048d4..40f6bc427b 100644 --- a/invokeai/frontend/web/src/features/metadata/components/MetadataLoRAs.tsx +++ b/invokeai/frontend/web/src/features/metadata/components/MetadataLoRAs.tsx @@ -1,3 +1,4 @@ +import { Text } from '@invoke-ai/ui-library'; import type { LoRA } from 'features/lora/store/loraSlice'; import { MetadataItemView } from 'features/metadata/components/MetadataItemView'; import type { MetadataHandlers } from 'features/metadata/types'; @@ -54,7 +55,7 @@ const MetadataViewLoRA = ({ if (!handlers.renderItemValue) { return null; } - return handlers.renderItemValue(lora); + return {handlers.renderItemValue(lora)}; }, [handlers, lora]); return ;