fix: typo begginers -> beginners

This commit is contained in:
Jean-Philippe Sirois
2021-02-25 13:28:46 -05:00
parent 5ec2cbff8f
commit 3a25f87fd6
4 changed files with 9 additions and 9 deletions
@@ -9,16 +9,16 @@ import { PageContent } from "../components/PageContent"
import { HeaderBarebone } from "../components/HeaderBarebone"
import { buildToc } from "../utils"
function begginers({ data }: ComponentQuery<{ md: Mdx }>) {
function Beginners({ data }: ComponentQuery<{ md: Mdx }>) {
const { md } = data
const toc = buildToc(md.headings!)
return (
<Fragment>
<SEO title="Begginers" />
<SEO title="Beginners" />
<HeaderBarebone
title="Begginers"
title="Beginners"
className={cx({ shifted: toc.length })}
/>
@@ -28,8 +28,8 @@ function begginers({ data }: ComponentQuery<{ md: Mdx }>) {
}
export const query = graphql`
query begginers {
md: mdx(frontmatter: { path: { eq: "/begginers" } }) {
query beginners {
md: mdx(frontmatter: { path: { eq: "/beginners" } }) {
body
headings {
depth
@@ -39,4 +39,4 @@ export const query = graphql`
}
`
export default begginers
export default Beginners