diff options
| author | Yuval Adam <_@yuv.al> | 2022-09-20 11:51:44 +0300 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2022-09-20 11:51:44 +0300 |
| commit | 2f61c34483ae1d1e1c4847cf08d0b50e82565269 (patch) | |
| tree | 94bc395993845226df3d01d25815a457f3bdd6e8 /src | |
| parent | b7d724f5237685d6116401048a824f558d29b961 (diff) | |
Formatting cleanup
Diffstat (limited to 'src')
| -rw-r--r-- | src/Geshem.tsx | 12 |
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); }; |
