summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Geshem.tsx12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/Geshem.tsx b/src/Geshem.tsx
index 3bd99ad..dffb4b3 100644
--- a/src/Geshem.tsx
+++ b/src/Geshem.tsx
@@ -45,16 +45,10 @@ export function Geshem({ date }: GeshemProps) {
const buildPlayback = async () => {
const date = playback;
- const hours = Array.from(Array(PLAYBACK_HOURS).keys()).map(
- h => `${String(h).padStart(2, "0")}`
- );
- const minutes = Array.from(Array(6).keys()).map(
- m => `${String(m * 10).padStart(2, "0")}`
- );
+ const hours = Array.from(Array(PLAYBACK_HOURS).keys()).map(h => `${String(h).padStart(2, "0")}`);
+ const minutes = Array.from(Array(6).keys()).map(m => `${String(m * 10).padStart(2, "0")}`);
const paths = hours.reduce<string[]>(
- (acc, h) =>
- acc.concat(minutes.map(m => `imgs/${date}/${h}${m}/280.png`)),
- []
+ (acc, h) => acc.concat(minutes.map(m => `imgs/${date}/${h}${m}/280.png`)), []
);
setImages(paths);
};