diff --git a/components/SmallFooter.tsx b/components/SmallFooter.tsx index d20a1654e9..72b10cb862 100644 --- a/components/SmallFooter.tsx +++ b/components/SmallFooter.tsx @@ -1,5 +1,5 @@ -import { MarkGithubIcon } from "@primer/octicons-react"; -import { useTranslation } from "components/hooks/useTranslation"; +import { MarkGithubIcon } from '@primer/octicons-react' +import { useTranslation } from 'components/hooks/useTranslation' export const SmallFooter = () => { const { t } = useTranslation('footer') @@ -12,45 +12,31 @@ export const SmallFooter = () => { © {new Date().getFullYear()} GitHub, Inc.
  • - - {t`terms`} - + {t`terms`}
  • - - {t`privacy`}{" "} - + {t`privacy`}
  • - - {t`product.links.security`} - + {t`product.links.security`}
  • - - {t`support.links.status`} - + {t`support.links.status`}
  • {t`support.links.help`}
  • - - {t`support.links.contact_github`} - + {t`support.links.contact_github`}
  • - - {t`product.links.pricing`} - + {t`product.links.pricing`}
  • {t`platform.links.developer_api`}
  • - - {t`support.links.training`} - + {t`support.links.training`}
  • {t`company.links.about`} @@ -58,5 +44,5 @@ export const SmallFooter = () => { - ); -}; \ No newline at end of file + ) +} diff --git a/components/hooks/useVersion.tsx b/components/hooks/useVersion.tsx index 71451aaa7a..eb05a5a05e 100644 --- a/components/hooks/useVersion.tsx +++ b/components/hooks/useVersion.tsx @@ -1,12 +1,12 @@ import { useRouter } from 'next/router' type VersionInfo = { - currentVersion: string; - isEnterprise: boolean; -}; + currentVersion: string + isEnterprise: boolean +} const DEFAULT_VERSION = 'free-pro-team@latest' export const useVersion = (): VersionInfo => { const router = useRouter() const currentVersion = (router.query.versionId as string) || DEFAULT_VERSION - return { currentVersion, isEnterprise: currentVersion.includes('enterprise') }; -}; \ No newline at end of file + return { currentVersion, isEnterprise: currentVersion.includes('enterprise') } +}