import Head from "next/head" import React from "react" export const DEFAULT_TITLE = "SuperRichQuiz Admin" export const DEFAULT_DESCRIPTION = "SuperRichQuiz Admin" interface ISeoHeadProps { title?: string description?: string } const SeoHead = ({ title, description }: ISeoHeadProps) => { return ( {title ? `${title} | ${DEFAULT_TITLE}` : DEFAULT_TITLE} ) } export default React.memo(SeoHead)