From fd17d6dd1f7c9fbda4d3c3e2c2eb232bd9086fab Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Tue, 22 Feb 2022 21:50:14 +0100 Subject: webui: upgrade Material UI --- webui/src/components/Content/AnchorTag.tsx | 3 +-- webui/src/components/Content/BlockQuoteTag.tsx | 3 +-- webui/src/components/Content/ImageTag.tsx | 3 +-- webui/src/components/Content/PreTag.tsx | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) (limited to 'webui/src/components/Content') diff --git a/webui/src/components/Content/AnchorTag.tsx b/webui/src/components/Content/AnchorTag.tsx index 0ded34b6..e9edef95 100644 --- a/webui/src/components/Content/AnchorTag.tsx +++ b/webui/src/components/Content/AnchorTag.tsx @@ -1,8 +1,7 @@ +import makeStyles from '@mui/styles/makeStyles'; import * as React from 'react'; import { Link } from 'react-router-dom'; -import { makeStyles } from '@material-ui/core/styles'; - const useStyles = makeStyles((theme) => ({ tag: { color: theme.palette.text.secondary, diff --git a/webui/src/components/Content/BlockQuoteTag.tsx b/webui/src/components/Content/BlockQuoteTag.tsx index d9674b5d..ae6c34f4 100644 --- a/webui/src/components/Content/BlockQuoteTag.tsx +++ b/webui/src/components/Content/BlockQuoteTag.tsx @@ -1,7 +1,6 @@ +import makeStyles from '@mui/styles/makeStyles'; import * as React from 'react'; -import { makeStyles } from '@material-ui/core/styles'; - const useStyles = makeStyles((theme) => ({ tag: { color: theme.palette.text.secondary, diff --git a/webui/src/components/Content/ImageTag.tsx b/webui/src/components/Content/ImageTag.tsx index 2e12ee45..f6e7d5ba 100644 --- a/webui/src/components/Content/ImageTag.tsx +++ b/webui/src/components/Content/ImageTag.tsx @@ -1,7 +1,6 @@ +import { makeStyles } from '@mui/styles'; import * as React from 'react'; -import { makeStyles } from '@material-ui/styles'; - const useStyles = makeStyles({ tag: { maxWidth: '100%', diff --git a/webui/src/components/Content/PreTag.tsx b/webui/src/components/Content/PreTag.tsx index 4601cc2d..aeefa655 100644 --- a/webui/src/components/Content/PreTag.tsx +++ b/webui/src/components/Content/PreTag.tsx @@ -1,7 +1,6 @@ +import { makeStyles } from '@mui/styles'; import * as React from 'react'; -import { makeStyles } from '@material-ui/styles'; - const useStyles = makeStyles({ tag: { maxWidth: '100%', -- cgit