Skip to content
Snippets Groups Projects
Unverified Commit 6f8fb01a authored by Nemanja's avatar Nemanja
Browse files

Fix type failures

parent 363557c4
Branches
Tags
No related merge requests found
......@@ -169,7 +169,7 @@ export const showAddedCardAutoWireParametersToast =
export const closeAutoWireParameterToast =
(toastId: string = AUTO_WIRE_TOAST_ID) =>
(dispatch: Dispatch) => {
dispatch(dismissUndo({ undoId: toastId, track: false }));
dispatch(dismissUndo({ undoId: toastId }));
};
const autoWireToastTypes = ["filterAutoConnect", "filterAutoConnectDone"];
......@@ -179,7 +179,7 @@ export const closeAddCardAutoWireToasts =
for (const undo of undos) {
if (undo.type && autoWireToastTypes.includes(undo.type)) {
dispatch(dismissUndo({ undoId: undo.id, track: false }));
dispatch(dismissUndo({ undoId: undo.id }));
}
}
};
......@@ -740,7 +740,7 @@ export const closeAutoApplyFiltersToast = createThunkAction(
() => (dispatch, getState) => {
const toastId = getAutoApplyFiltersToastId(getState());
if (toastId) {
dispatch(dismissUndo({ undoId: toastId, track: false }));
dispatch(dismissUndo({ undoId: toastId }));
}
},
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment