Czyszczenie i restrukturyzacja store'a

This commit is contained in:
2021-06-11 00:29:57 +02:00
parent b6267ad88c
commit 5f028fe9c8
8 changed files with 231 additions and 125 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ const parseSpawns = (spawnString: string) => {
});
};
const getTimestamp = (date: string) => (date ? new Date(date).getTime() : 0);
const getTimestamp = (date: string | null) => (date ? new Date(date).getTime() : 0);
const timestampToString = (timestamp: number) =>
new Date(timestamp).toLocaleTimeString("pl-PL", {