import { memo } from 'react' const TitleComponent = ({ title }: { title: string type: string route: string }) => { if (title === 'Guide' || title === 'Documentation') { return {title} } return {title} } export default memo(TitleComponent)