- {navigationsConfig.map(({ href, label, external, soon, disabled, plausibleEvent }) =>
+ {navigationsConfig.map(({ href, label, external, soon, disabled }) =>
external ? (
{label}
@@ -71,7 +70,7 @@ export default function Header() {
pathname === href
? "text-primary after:bg-primary after:absolute after:-bottom-[2px] after:left-1/4 after:block after:h-[3px] after:w-1/2 after:rounded-full"
: "text-white"
- } plausible-event-name=${plausibleEvent}`}
+ }`}
>
{label}
diff --git a/apps/web/src/components/history/history-details.tsx b/apps/web/src/components/history/history-details.tsx
index fab90e76..df375472 100644
--- a/apps/web/src/components/history/history-details.tsx
+++ b/apps/web/src/components/history/history-details.tsx
@@ -13,7 +13,7 @@ import Completed from "../icons/completed";
import Pending from "../icons/pending";
import { useHistoryDetails } from "../../hooks";
import ComponentLoading from "../../ui/component-loading";
-import { useEffect, useMemo } from "react";
+import { useMemo } from "react";
interface Props {
data: Partial
;
@@ -27,10 +27,6 @@ export default function HistoryDetails({ data: propsData }: Props) {
const targetChain = getChainConfig(data?.toChain);
const sourceToken = sourceChain?.tokens.find(({ symbol }) => symbol.toUpperCase() === data?.sendToken?.toUpperCase());
- useEffect(() => {
- window.plausible("History Details", { props: { status: propsData?.result } });
- }, [propsData?.result]);
-
return (
diff --git a/apps/web/src/components/history/index.tsx b/apps/web/src/components/history/index.tsx
index 53d33810..947d0828 100644
--- a/apps/web/src/components/history/index.tsx
+++ b/apps/web/src/components/history/index.tsx
@@ -31,7 +31,7 @@ export default function History({ children, className }: PropsWithChildren<{ cla
return account.address ? (
<>
-
>
);
}