removed redirect

This commit is contained in:
mmacierzanka committed 2021-10-07 21:15:16 +02:00
1 parent 8253090ac5
commit a524fc0bac
1 file changed
-1
@@ -19,7 +19,6 @@ export const EventPreviewEdit = (props) => {
const deleteItem = async (arg) => {
console.log("deleting..." + arg);
await API_CLIENT.deleteEvent({ id: arg });
history.push("/");
};
return (
<div className={styles.link}>