Optima: show out name

This commit is contained in:
Enrico Ros
2025-05-03 13:55:23 -07:00
parent f2df042c0a
commit ba18891696
@@ -25,6 +25,7 @@ export function useOptimaPortalOutRef(portalTargetId: OptimaPortalId, debugCalle
console.warn(`useOptimaPortalOut: ref.current is null for type ${portalTargetId} (called by ${debugCallerName})`);
} else {
setElement(portalTargetId, ref.current);
ref.current.dataset['optimaOutId'] = portalTargetId.replace('optima-portal-', '');
}
return () => setElement(portalTargetId, null);
}, [debugCallerName, portalTargetId]);