diff --git a/vinvoor/src/footer/Footer.tsx b/vinvoor/src/footer/Footer.tsx index 7626b8e..6475ce1 100644 --- a/vinvoor/src/footer/Footer.tsx +++ b/vinvoor/src/footer/Footer.tsx @@ -7,41 +7,51 @@ export const Footer = () => { const { data: version } = useVersion(); return ( - - - - {version?.version ?? ""} - - + - Made with ❤️ by - - - Zeus Icon - + {version?.version ?? ""} + + Made with ❤️ by + + + Zeus Icon + + + + + Github © 2024 - - - Github © 2024 - - - - ) + + + ); }; diff --git a/vinvoor/src/hooks/useVersion.ts b/vinvoor/src/hooks/useVersion.ts index 4135037..b1087ec 100644 --- a/vinvoor/src/hooks/useVersion.ts +++ b/vinvoor/src/hooks/useVersion.ts @@ -1,5 +1,5 @@ import { useQuery } from "@tanstack/react-query"; -import { convertVersionJSON, Version, VersionJSON } from '../types/version'; +import { convertVersionJSON, Version, VersionJSON } from "../types/version"; import { getApi } from "../util/fetch"; const ENDPOINT = "version"; @@ -8,5 +8,5 @@ export const useVersion = () => useQuery({ queryKey: ["version"], queryFn: () => getApi(ENDPOINT, convertVersionJSON), - retry: 1 - }) + retry: 1, + });