export const checkPage = (page: string) => {
  const splitPath = window.location.pathname.split('/')
  const pageType = splitPath[2]

  return `/${pageType}` === page
}
