Skip to content

Commit 306453f

Browse files
christianalfoniSaraVieira
authored andcommitted
make modal message optional (codesandbox#2553)
1 parent f34a72d commit 306453f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const connectionChanged: Action<boolean> = ({ state }, connected) => {
6060
state.connected = connected;
6161
};
6262

63-
export const modalOpened: Action<{ modal: string; message: string }> = (
63+
export const modalOpened: Action<{ modal: string; message?: string }> = (
6464
{ state, effects },
6565
{ modal, message }
6666
) => {

0 commit comments

Comments
 (0)