src/modules/trades/helpers/get-trade-page-market-id.js
import { formatEthereumAddress } from "speedomatic";
export const getTradePageMarketId = () => {
const locationHash = document.location.hash.split("id=");
if (locationHash.length <= 1) return false;
return formatEthereumAddress(locationHash[locationHash.length - 1]);
};