diff --git a/.github/workflows/move-new-issues-to-correct-docs-repo.yml b/.github/workflows/move-new-issues-to-correct-docs-repo.yml index f215fe25a1..32480afeab 100644 --- a/.github/workflows/move-new-issues-to-correct-docs-repo.yml +++ b/.github/workflows/move-new-issues-to-correct-docs-repo.yml @@ -48,7 +48,7 @@ jobs: owner: owner, repo: originalRepo, issue_number: issueNo, - body: `👋 Moving forward, we're asking that folks create all new Docs issues in the [${process.env.TEAM_ENGINEERING_REPO}](${process.env.TEAM_ENGINEERING_REPO}) repo and all new content issues in [${process.env.TEAM_CONTENT_REPO}](${process.env.TEAM_CONTENT_REPO}). We transferred it for you!` + body: `👋 You opened this issue in `${context.repo.repo}`. Moving forward, we're asking that folks create new issues in the following repositories instead:\n- For issues with the docs site, please submit to the [${process.env.TEAM_ENGINEERING_REPO}](/${owner}/${process.env.TEAM_ENGINEERING_REPO}) repo.\n- For all new content issues, please submit to the [${process.env.TEAM_CONTENT_REPO}](/${owner}/${process.env.TEAM_CONTENT_REPO}) repo.\n\nWe will transfer this issue for you!` }) // Transfer the issue to the correct repo diff --git a/components/DefaultLayout.tsx b/components/DefaultLayout.tsx index 3440cf2470..a88f2bd228 100644 --- a/components/DefaultLayout.tsx +++ b/components/DefaultLayout.tsx @@ -11,7 +11,7 @@ import { useTranslation } from './hooks/useTranslation' type Props = { children?: React.ReactNode } export const DefaultLayout = (props: Props) => { - const { builtAssets, page, error, isHomepageVersion } = useMainContext() + const { page, error, isHomepageVersion } = useMainContext() const { t } = useTranslation('errors') return (
@@ -22,8 +22,6 @@ export const DefaultLayout = (props: Props) => { {page.fullTitle} ) : null} -