mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-11-13 05:45:15 +00:00
remove useCallback logic
This commit is contained in:
@@ -13,7 +13,7 @@ export function SiteFooter() {
|
|||||||
}
|
}
|
||||||
const v = health.data.version;
|
const v = health.data.version;
|
||||||
return `v${v.major}.${v.minor}.${v.revision}`;
|
return `v${v.major}.${v.minor}.${v.revision}`;
|
||||||
}, [health.data]);
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
const checkForUpdates = async () => {
|
const checkForUpdates = async () => {
|
||||||
@@ -96,4 +96,4 @@ export function SiteFooter() {
|
|||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user