Skip to content

Commit 9d1f365

Browse files
committed
alerts/actions: fix alertsShowAlert action with props
1 parent e343026 commit 9d1f365

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/alerts/actions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export const alertsShowAlert = createAction(
2222
type: 'alerts.action.showAlert',
2323
domain,
2424
specific,
25-
props,
25+
// HACK: using varargs to allow props to be optional, but it is only one arg
26+
props: props.at(0),
2627
}),
2728
);
2829

0 commit comments

Comments
 (0)