mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 05:45:15 +00:00
minimal changes
This commit is contained in:
committed by
GitHub
parent
ae5faa75fa
commit
dc03ad8239
@@ -65,4 +65,4 @@ router.all(/(.+)/, (req, _, next) => {
|
||||
next(new errs.ItemNotFoundError(req.params.page));
|
||||
});
|
||||
|
||||
export default router;
|
||||
export default router;
|
||||
|
||||
@@ -74,4 +74,4 @@ function compareVersions(current, latest) {
|
||||
return false;
|
||||
}
|
||||
|
||||
export default router;
|
||||
export default router;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { useCallback, useEffect, useState } from "react";
|
||||
import { useEffect, useState } from "react";
|
||||
import { useHealth } from "src/hooks";
|
||||
import { T } from "src/locale";
|
||||
|
||||
@@ -7,7 +7,7 @@ export function SiteFooter() {
|
||||
const [latestVersion, setLatestVersion] = useState<string | null>(null);
|
||||
const [isNewVersionAvailable, setIsNewVersionAvailable] = useState(false);
|
||||
|
||||
const getVersion = useCallback(() => {
|
||||
const getVersion = () => {
|
||||
if (!health.data) {
|
||||
return "";
|
||||
}
|
||||
@@ -96,4 +96,4 @@ export function SiteFooter() {
|
||||
</div>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user