Skip to content

Commit

Permalink
remove react imports - don't know why vscode bugged out with that
Browse files Browse the repository at this point in the history
  • Loading branch information
avertrees committed Oct 20, 2023
1 parent 9d039d6 commit f7f244d
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/components/hero/campaignHero.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Hero, Link as DSLink } from "@nypl/design-system-react-components";
import React from "react";
import imageURL from "../../utils/utils";
import CampaignHeroSubText from "./campaignHeroSubText";
import CampaignHeroHeading from "./campaignHeroHeading";
Expand Down
1 change: 0 additions & 1 deletion src/components/hero/campaignHeroHeading.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Heading } from "@nypl/design-system-react-components";
import React from "react";

const CampaignHeroHeading = () => {
return (
Expand Down
1 change: 0 additions & 1 deletion src/components/hero/campaignHeroSubText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
Text,
Spacer,
} from "@nypl/design-system-react-components";
import React from "react";

const CampaignHeroSubText = () => {
return (
Expand Down
1 change: 0 additions & 1 deletion src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// import '@/styles/globals.css'
import type { AppProps } from "next/app";
import Head from "next/head";
import React from "react";
import { DSProvider } from "@nypl/design-system-react-components";

export default function App({ Component, pageProps }: AppProps) {
Expand Down
1 change: 0 additions & 1 deletion src/pages/_document.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Html, Head, Main, NextScript } from "next/document";
import React from "react";

export default function Document() {
return (
Expand Down
7 changes: 2 additions & 5 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import CampaignHero from "../components/hero/campaignHero"
import React from "react"
import CampaignHero from "../components/hero/campaignHero";

export default function Home() {
return (
<CampaignHero />
)
return <CampaignHero />;
}

0 comments on commit f7f244d

Please sign in to comment.