diff options
| author | Fuwn <[email protected]> | 2026-04-28 05:34:14 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-04-28 05:34:14 -0700 |
| commit | 1e149a29f6732c245364aa551fd08e2991310d98 (patch) | |
| tree | cbafe7526a00309a44a66e11913e8c3b7147f208 /src/lib/CommandPalette | |
| parent | refactor(airing): unify countdown formatter into shared helper (diff) | |
| download | due.moe-1e149a29f6732c245364aa551fd08e2991310d98.tar.xz due.moe-1e149a29f6732c245364aa551fd08e2991310d98.zip | |
style: apply biome formatter
Diffstat (limited to 'src/lib/CommandPalette')
| -rw-r--r-- | src/lib/CommandPalette/syncActions.ts | 8 | ||||
| -rw-r--r-- | src/lib/CommandPalette/toggleActions.ts | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/lib/CommandPalette/syncActions.ts b/src/lib/CommandPalette/syncActions.ts index c787f348..49859221 100644 --- a/src/lib/CommandPalette/syncActions.ts +++ b/src/lib/CommandPalette/syncActions.ts @@ -41,9 +41,7 @@ export const syncActions = ( lastPush: new Date(), })); }) - .catch((error) => - console.error("Settings sync push failed", error), - ); + .catch((error) => console.error("Settings sync push failed", error)); }, }, { @@ -82,9 +80,7 @@ export const syncActions = ( ); }); }) - .catch((error) => - console.error("Settings sync pull failed", error), - ); + .catch((error) => console.error("Settings sync pull failed", error)); }, }, ]; diff --git a/src/lib/CommandPalette/toggleActions.ts b/src/lib/CommandPalette/toggleActions.ts index b93b5626..ca64ff5f 100644 --- a/src/lib/CommandPalette/toggleActions.ts +++ b/src/lib/CommandPalette/toggleActions.ts @@ -45,7 +45,9 @@ export const toggleActions = (current: Settings): CommandPaletteAction[] => { const titleIndex = TITLE_FORMATS.indexOf(current.displayTitleFormat); const nextTitle = TITLE_FORMATS[(titleIndex + 1) % TITLE_FORMATS.length]; - const outboundIndex = OUTBOUND_TARGETS.indexOf(current.displayOutboundLinksTo); + const outboundIndex = OUTBOUND_TARGETS.indexOf( + current.displayOutboundLinksTo, + ); const nextOutbound = OUTBOUND_TARGETS[(outboundIndex + 1) % OUTBOUND_TARGETS.length]; |