let → const

This commit is contained in:
Rhiannon Morris 2025-01-01 00:41:07 +01:00
parent a4f3877b78
commit 15e6c50641
2 changed files with 10 additions and 10 deletions

View file

@ -183,7 +183,7 @@ export function applyConfiguration(): void {
}
export function move(c: Conf, ...ms: Rotation[]): Conf {
let res: Partial<Conf> = {};
const res: Partial<Conf> = {};
for (const pane of allPanes) { res[pane] = applyMoves(c[pane], ms) }
return res as Conf;
}
@ -290,7 +290,7 @@ export function fadeTo(newPane: Pane): void {
let reducedMotion =
const reducedMotion =
matchMedia(`(prefers-reduced-motion: reduce),
(max-height: 649px), (max-width: 649px)`);