mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 20:37:21 +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