Skip to content

Correct imports when imported in certain setups. #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
import { Link, LinkProps, Typography, useTheme } from "@mui/material";
import Grid from "@mui/material/Grid2";
import {
Grid2 as Grid,
Link,
LinkProps,
Typography,
useTheme,
} from "@mui/material";

import React from "react";
import {
Expand Down
4 changes: 2 additions & 2 deletions src/components/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import {
Button,
Box,
Link,
Menu,
MenuItem,
Stack,
Typography,
useTheme,
} from "@mui/material";

import Menu from "@mui/material/Menu";
import MenuItem from "@mui/material/MenuItem";
import { ReactNode, useState } from "react";

import { MdLogin } from "react-icons/md";
Expand Down
2 changes: 1 addition & 1 deletion src/themes/DiamondTheme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createTheme, Theme } from "@mui/material/styles";
import { createTheme, Theme } from "@mui/material";

import { BaseThemeOptions } from "./BaseTheme";

Expand Down
2 changes: 1 addition & 1 deletion src/themes/GenericTheme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createTheme, Theme } from "@mui/material/styles";
import { createTheme, Theme } from "@mui/material";

import { BaseThemeOptions } from "./BaseTheme";

Expand Down
2 changes: 1 addition & 1 deletion src/themes/ThemeProvider.test.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "@testing-library/jest-dom";
import { render } from "@testing-library/react";

import { createTheme, Theme } from "@mui/material/styles";
import { createTheme, Theme } from "@mui/material";

import { ThemeProvider } from "./ThemeProvider";
import { BaseThemeOptions } from "./BaseTheme";
Expand Down
2 changes: 1 addition & 1 deletion src/themes/ThemeProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThemeProvider as Mui_ThemeProvider } from "@mui/material/styles";
import { ThemeProvider as Mui_ThemeProvider } from "@mui/material";
import { CssBaseline } from "@mui/material";
import { GenericTheme } from "./GenericTheme";
import { ThemeProviderProps as Mui_ThemeProviderProps } from "@mui/material/styles/ThemeProvider";
Expand Down
Loading