From bce4d095e16fb33d181b29aa1d3476037c0c873a Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Wed, 16 Feb 2022 10:32:20 +0100 Subject: webui: replace React imports --- webui/src/components/CommentInput/CommentInput.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webui/src/components/CommentInput') diff --git a/webui/src/components/CommentInput/CommentInput.tsx b/webui/src/components/CommentInput/CommentInput.tsx index babd495c..07322a22 100644 --- a/webui/src/components/CommentInput/CommentInput.tsx +++ b/webui/src/components/CommentInput/CommentInput.tsx @@ -1,4 +1,5 @@ -import React, { useState, useEffect } from 'react'; +import { useState, useEffect } from 'react'; +import * as React from 'react'; import { Typography } from '@material-ui/core'; import Tab from '@material-ui/core/Tab'; -- cgit 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/CommentInput/CommentInput.tsx | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'webui/src/components/CommentInput') diff --git a/webui/src/components/CommentInput/CommentInput.tsx b/webui/src/components/CommentInput/CommentInput.tsx index 07322a22..0fde1d95 100644 --- a/webui/src/components/CommentInput/CommentInput.tsx +++ b/webui/src/components/CommentInput/CommentInput.tsx @@ -1,11 +1,10 @@ -import { useState, useEffect } from 'react'; +import { Typography } from '@mui/material'; +import Tab from '@mui/material/Tab'; +import Tabs from '@mui/material/Tabs'; +import TextField from '@mui/material/TextField'; +import makeStyles from '@mui/styles/makeStyles'; import * as React from 'react'; - -import { Typography } from '@material-ui/core'; -import Tab from '@material-ui/core/Tab'; -import Tabs from '@material-ui/core/Tabs'; -import TextField from '@material-ui/core/TextField'; -import { makeStyles } from '@material-ui/core/styles'; +import { useState, useEffect } from 'react'; import Content from '../Content'; -- cgit