fix: fix React imports

This commit is contained in:
Felix Schröter 2022-11-15 23:05:20 +01:00
parent 7ceda0bc7a
commit a27ff3acca
Signed by: felschr
GPG key ID: 671E39E6744C807D
5 changed files with 8 additions and 5 deletions

View file

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

View file

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

View file

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

View file

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

View file

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