moved flash message, removed theme from admin controller

This commit is contained in:
dswbx
2025-03-04 11:21:33 +01:00
parent 9ecfcb3e05
commit e82b72275b
4 changed files with 71 additions and 74 deletions

View File

@@ -7,7 +7,7 @@ import { Alert } from "ui/components/display/Alert";
* @constructor
*/
export function FlashMessage() {
const [flash, setFlash] = useState<any>();
const [flash, setFlash] = useState<ReturnType<typeof getFlashMessage>>();
useEffect(() => {
if (!flash) {