export const isCurrentLocation = (link: string = '') => { if (window.location.hash.includes('#/')) { return window.location.hash.includes(link); } return window.location.pathname.includes(link); };