aboutsummaryrefslogtreecommitdiff
path: root/src/components/ErrorBoundary.tsx
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-09-27 16:57:46 +0200
committerVendicated <vendicated@riseup.net>2022-09-27 16:57:46 +0200
commit572bfcee6ce343c6bf9d69262576de4e57c01500 (patch)
treea0cdf027c41152a45183e80344d054071684a064 /src/components/ErrorBoundary.tsx
parent6398dd25d20e6bc3e02425b709233066baf64e0c (diff)
downloadVencord-572bfcee6ce343c6bf9d69262576de4e57c01500.tar.gz
Vencord-572bfcee6ce343c6bf9d69262576de4e57c01500.tar.bz2
Vencord-572bfcee6ce343c6bf9d69262576de4e57c01500.zip
Fix Settings UI
Diffstat (limited to 'src/components/ErrorBoundary.tsx')
-rw-r--r--src/components/ErrorBoundary.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx
index e903947..2b754b2 100644
--- a/src/components/ErrorBoundary.tsx
+++ b/src/components/ErrorBoundary.tsx
@@ -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>
);
}
}