1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:46:39 -04:00

refactor <CodeBlock /> to make it useful outside of mdx

This commit is contained in:
2022-02-09 10:41:23 -05:00
parent 885f97fa64
commit 3801989a5b
4 changed files with 63 additions and 57 deletions

View File

@ -8,11 +8,7 @@ import { OctocatOcticon } from "../components/Icons";
import type { GetStaticProps } from "next";
import type { RepoType } from "../types";
type Props = {
repos: RepoType[];
};
const Projects = ({ repos }: Props) => (
const Projects = ({ repos }) => (
<>
<NextSeo
title="Projects"