import { Link, useLocation } from "react-router-dom"; interface LayoutProps { children: React.ReactNode; headerChart?: React.ReactNode; } export default function Layout({ children, headerChart }: LayoutProps) { const location = useLocation(); const isTracksPage = location.pathname.startsWith("/tracks"); const isAlbumsPage = location.pathname.startsWith("/albums"); return (
fm.teal.alpha.feed.play