diff --git a/src/api/subscriptions.tsx b/src/api/subscriptions.tsx index acd62e3c0..573384a6e 100644 --- a/src/api/subscriptions.tsx +++ b/src/api/subscriptions.tsx @@ -1,21 +1,7 @@ -import { useMatchRoute } from "@tanstack/react-location" import { useOmnipoolAssetsSubsciption } from "./omnipool" -import { LINKS } from "utils/navigation" export const QuerySubscriptions = () => { - const matchRoute = useMatchRoute() - - const isOmnipoolAssetsActive = [ - LINKS.allPools, - LINKS.myLiquidity, - LINKS.isolated, - LINKS.omnipool, - LINKS.walletAssets, - LINKS.statsOverview, - LINKS.statsPOL, - ].some((item) => matchRoute({ to: item })) - - return isOmnipoolAssetsActive ? : null + return } const OmnipoolAssetsSubscription = () => {