mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
alerts/actions: fix alertsShowAlert action with props
This commit is contained in:
@@ -22,7 +22,8 @@ export const alertsShowAlert = createAction(
|
||||
type: 'alerts.action.showAlert',
|
||||
domain,
|
||||
specific,
|
||||
props,
|
||||
// HACK: using varargs to allow props to be optional, but it is only one arg
|
||||
props: props.at(0),
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user