fix: remove unused variables causing TypeScript build failure
This commit is contained in:
parent
ec55362d15
commit
8c91886de6
1 changed files with 0 additions and 11 deletions
|
|
@ -1,17 +1,6 @@
|
|||
import { useCheckVersion, useHealth } from "src/hooks";
|
||||
import { T } from "src/locale";
|
||||
|
||||
export function SiteFooter() {
|
||||
const health = useHealth();
|
||||
const { data: versionData } = useCheckVersion();
|
||||
|
||||
const getVersion = () => {
|
||||
if (!health.data) {
|
||||
return "";
|
||||
}
|
||||
const v = health.data.version;
|
||||
return `v${v.major}.${v.minor}.${v.revision}`;
|
||||
};
|
||||
|
||||
return (
|
||||
<footer className="footer d-print-none py-3">
|
||||
|
|
|
|||
Loading…
Reference in a new issue