diff --git a/src/pages/RevoltApp.tsx b/src/pages/RevoltApp.tsx index 23849dd6..3f9d2c48 100644 --- a/src/pages/RevoltApp.tsx +++ b/src/pages/RevoltApp.tsx @@ -126,7 +126,7 @@ export default function App() { )} {alert.dismissable !== false && ( setStatusBar(false)}> -
Dismiss
+
{"Dismiss"}
)} diff --git a/src/pages/developer/Developer.tsx b/src/pages/developer/Developer.tsx index 3c6009db..5cfcd391 100644 --- a/src/pages/developer/Developer.tsx +++ b/src/pages/developer/Developer.tsx @@ -2,6 +2,8 @@ import { Wrench } from "@styled-icons/boxicons-solid"; import { useEffect, useState } from "preact/hooks"; +import { Button } from "@revoltchat/ui"; + import PaintCounter from "../../lib/PaintCounter"; import { TextReact } from "../../lib/i18n"; @@ -45,8 +47,15 @@ export default function Developer() {
- setCrash(true)}>click to crash app - {crash && (window as any).sus.sus()} + + { + crash && + ( + window as any + ).sus.sus() /* this runs a function that doesn't exist */ + } {/* Voice Status: {VoiceStatus[voice.status]}