import "./styles.sass"; import {getByPath, routes} from "@/common/routes"; import {Route, Routes, useLocation} from "react-router-dom"; import {useEffect} from "react"; export const Content = () => { const location = useLocation(); useEffect(() => { document.title = "PowerTools - " + (getByPath(location.pathname)?.name || "404"); }, [location]); return (