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

remove unnecessary react fragments

This commit is contained in:
2022-01-18 09:54:30 -05:00
parent a406010bd2
commit 5e9503b562
22 changed files with 142 additions and 125 deletions

View File

@ -1,7 +1,7 @@
import { graphql } from "@octokit/graphql";
import { NextSeo } from "next-seo";
import Title from "../components/Title/Title";
import RepoCard from "../components/RepositoryCard/RepositoryCard";
import PageTitle from "../components/PageTitle/PageTitle";
import RepositoryCard from "../components/RepositoryCard/RepositoryCard";
import { ProjectsIcon } from "../components/Icons";
import type { GetStaticProps } from "next";
import { RepoType } from "../types";
@ -15,14 +15,14 @@ const Projects = (props: { repos: RepoType[] }) => (
}}
/>
<Title>
<PageTitle>
<ProjectsIcon /> Projects
</Title>
</PageTitle>
<div className="wrapper">
{props.repos.map((repo: RepoType) => (
<div key={repo.name} className="card">
<RepoCard {...repo} />
<RepositoryCard {...repo} />
</div>
))}
</div>