Skip to content

Commit 3eaac9c

Browse files
committed
fix(ui): restore the OptionCard export used by the custodian surface
The Control UI build fails on main with MISSING_EXPORT: custodian-surface.tsx (ported to Solid in #169300) imports OptionCard, but 3e8757d had removed that export while it had no consumer. The two changes landed independently, so every bundled UI e2e lane fails in global setup. Export the bridge component again now that it has a consumer. Proof: pnpm tsgo:ui and pnpm ui:build pass; custodian-event-nudge e2e passes against the rebuilt bundle.
1 parent 50792af commit 3eaac9c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ui/src/components/option-card.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function OptionCardContent(input: BridgeProps & { host: OptionCardElement }) {
132132
);
133133
}
134134

135-
defineSolidBridge<BridgeProps>(
135+
export const OptionCard = defineSolidBridge<BridgeProps>(
136136
"openclaw-option-card",
137137
(props, host) => <OptionCardContent props={props.props} host={host} />,
138138
{

0 commit comments

Comments
 (0)