Remove event on alert due to rerendering issuse.
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { Alert } from "antd";
|
||||
import React from "react";
|
||||
import { logImEXEvent } from "../../firebase/firebase.utils";
|
||||
|
||||
export default function AlertComponent(props) {
|
||||
if (props.type === "error") logImEXEvent("alert_render", { ...props });
|
||||
return <Alert {...props} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user