mirror of
https://github.com/etkecc/synapse-admin.git
synced 2024-11-24 00:25:31 +03:00
automatically check for app update
This commit is contained in:
parent
b94b782547
commit
1570ca5485
1 changed files with 2 additions and 1 deletions
|
@ -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 { LoginMethod } from "../pages/LoginPage";
|
||||||
import { useEffect, useState, Suspense } from "react";
|
import { useEffect, useState, Suspense } from "react";
|
||||||
import { Icons, DefaultIcon } from "./icons";
|
import { Icons, DefaultIcon } from "./icons";
|
||||||
|
@ -99,5 +99,6 @@ export const AdminLayout = ({ children }) => (
|
||||||
},
|
},
|
||||||
}}>
|
}}>
|
||||||
{children}
|
{children}
|
||||||
|
<CheckForApplicationUpdate />
|
||||||
</Layout>
|
</Layout>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue