mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-03 00:26:01 +00:00
moved flash message, removed theme from admin controller
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user