automatically check for app update

This commit is contained in:
Aine 2024-11-13 23:44:54 +02:00
parent b94b782547
commit 1570ca5485
No known key found for this signature in database
GPG key ID: 34969C908CCA2804

View file

@ -1,4 +1,4 @@
import { AppBar, TitlePortal, InspectorButton, Confirm, Layout, Logout, Menu, useLogout, UserMenu } from "react-admin";
import { CheckForApplicationUpdate, AppBar, TitlePortal, InspectorButton, Confirm, Layout, Logout, Menu, useLogout, UserMenu } from "react-admin";
import { LoginMethod } from "../pages/LoginPage";
import { useEffect, useState, Suspense } from "react";
import { Icons, DefaultIcon } from "./icons";
@ -99,5 +99,6 @@ export const AdminLayout = ({ children }) => (
},
}}>
{children}
<CheckForApplicationUpdate />
</Layout>
);