diff --git a/src/frontend/src/CustomNodes/GenericNode/components/OutputComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/OutputComponent/index.tsx
index 9ea7abee2..b710141b3 100644
--- a/src/frontend/src/CustomNodes/GenericNode/components/OutputComponent/index.tsx
+++ b/src/frontend/src/CustomNodes/GenericNode/components/OutputComponent/index.tsx
@@ -27,7 +27,7 @@ export default function OutputComponent({
const updateNodeInternals = useUpdateNodeInternals();
if (types.length < 2) {
- return {selected};
+ return {name};
}
return (
@@ -40,7 +40,7 @@ export default function OutputComponent({
size="xs"
className={cn(
frozen ? "text-ice" : "",
- "items-center gap-1 pl-2 pr-1.5 align-middle text-xs font-normal"
+ "items-center gap-1 pl-2 pr-1.5 align-middle text-xs font-normal",
)}
>
{selected}