From 0b3ffae0a3609f53828e17962b7788acc9eb2932 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Thu, 21 Oct 2021 09:13:24 +0200 Subject: Switch semantic-ui to material-ui TODO: Login component --- src/components/Error.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/components/Error.js') diff --git a/src/components/Error.js b/src/components/Error.js index 56cc09c..4d026bc 100644 --- a/src/components/Error.js +++ b/src/components/Error.js @@ -1,6 +1,9 @@ import React from "react"; import PropTypes from "prop-types"; -import { Button, Message } from "semantic-ui-react"; + +import Alert from "@mui/material/Alert"; +import AlertTitle from "@mui/material/AlertTitle"; +import Button from "@mui/material/Button"; class Error extends React.Component { static propTypes = { @@ -12,11 +15,12 @@ class Error extends React.Component { render() { return (
- - Internal server error + + Internal server error

{this.props.error}

-
+
); } -- cgit v1.1