Specify type of custom scalars

This commit is contained in:
schroda
2024-03-28 17:30:34 +01:00
parent 7990ffda71
commit 511b1f7c5e
6 changed files with 52 additions and 55 deletions

View File

@@ -34,7 +34,7 @@ export const getVersion = (aboutServer: AboutServer) => {
return `${aboutServer.version}-${aboutServer.revision}`;
};
const getBuildTime = (aboutServer: AboutServer) => new Date(aboutServer.buildTime * 1000).toUTCString();
const getBuildTime = (aboutServer: AboutServer) => new Date(Number(aboutServer.buildTime) * 1000).toUTCString();
const getUpdateCheckButtonIcon = (
isLoading: boolean,