doc: dispatch EMPTY_BASKET type
This commit is contained in:
@@ -47,6 +47,10 @@ function Payment() {
|
||||
setError(null);
|
||||
setProcessing(false);
|
||||
|
||||
dispatch({
|
||||
type: "EMPTY_BASKET",
|
||||
});
|
||||
|
||||
history.replace("/orders");
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user