Fix Settings UI

This commit is contained in:
Vendicated 2022-09-27 16:57:46 +02:00
parent 6398dd25d2
commit 572bfcee6c
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
6 changed files with 61 additions and 38 deletions

View file

@ -1,5 +1,5 @@
import Logger from "../utils/logger";
import { Card, React } from "../webpack/common";
import { React } from "../webpack/common";
interface Props {
fallback?: React.ComponentType<React.PropsWithChildren<{ error: any; }>>;
@ -49,7 +49,7 @@ export default class ErrorBoundary extends React.Component<React.PropsWithChildr
/>;
return (
<Card style={{
<div style={{
overflow: "hidden",
padding: "2em",
backgroundColor: color + "30",
@ -65,7 +65,7 @@ export default class ErrorBoundary extends React.Component<React.PropsWithChildr
<pre>{this.state.error}
</pre>
</code>
</Card>
</div>
);
}
}