fix: add missing React imports

This commit is contained in:
Felix Schröter 2022-11-15 20:56:53 +01:00
parent e1347e8313
commit 20cc481ca4
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 5 additions and 4 deletions

View file

@ -1,4 +1,4 @@
import { ReactNode } from "react"
import React, { ReactNode } from "react"
import { Box, useTheme } from "@mui/material"
export type FooterProps = {

View file

@ -1,6 +1,6 @@
import React, { ReactNode, useMemo } from "react"
import { AppBar, Box, Button, Container, createTheme, CssBaseline, Link, ThemeProvider, Toolbar, Typography, useMediaQuery, useTheme } from "@mui/material"
import CodeIcon from "@mui/icons-material/Code"
import { ReactNode, useMemo } from "react"
import { Link as GatsbyLink } from "gatsby"
import { Footer } from "../atoms/Footer"

View file

@ -1,4 +1,4 @@
import * as React from "react"
import React from "react"
import { Link } from "gatsby"
// styles

View file

@ -1,4 +1,4 @@
import { ReactNode } from "react"
import React, { ReactNode } from "react"
import { GatsbyLinkProps, graphql, Link, PageProps } from "gatsby"
import Layout from "../../components/organisms/Layout"
import { Card, CardContent, CardMedia, Grid, Typography } from "@mui/material"

View file

@ -1,3 +1,4 @@
import React from "react"
import styled from "@emotion/styled"
import { Box, Card as Card_, CardContent, Grid, Typography } from "@mui/material"
import {