mirror of https://github.com/vector-im/riot-web
parent
dc099efb19
commit
dbe575d523
|
@ -24,14 +24,12 @@ import GenericToast from "../components/views/toasts/GenericToast";
|
|||
import ToastStore from "../stores/ToastStore";
|
||||
|
||||
const onAccept = () => {
|
||||
console.log("DEBUG onAccept AnalyticsToast");
|
||||
dis.dispatch({
|
||||
action: 'accept_cookies',
|
||||
});
|
||||
};
|
||||
|
||||
const onReject = () => {
|
||||
console.log("DEBUG onReject AnalyticsToast");
|
||||
dis.dispatch({
|
||||
action: "reject_cookies",
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue