summaryrefslogtreecommitdiffstats
path: root/src/components/layout/Sidebar.tsx
diff options
context:
space:
mode:
authorLibravatar MCMXC <16797721+mcmxcdev@users.noreply.github.com>2023-12-04 08:52:48 -0700
committerLibravatar GitHub <noreply@github.com>2023-12-04 08:52:48 -0700
commit3fc8706007d896dcbde69c0ce924a6a5eb66aba6 (patch)
tree008bbcfc14d819cd2f744eb16607b6aa9c4ad0bf /src/components/layout/Sidebar.tsx
parentchore: project maintenance (#1466) (diff)
downloadferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.gz
ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.tar.zst
ferdium-app-3fc8706007d896dcbde69c0ce924a6a5eb66aba6.zip
refactor: implement biome (#1467)
- add `biome.json` - add `biome:check` and `biome:check:fix` commands to `package.json` - add `biome:check:fix` command to run as part of `prepare-code` command - install `@biomejs/biome` dependency - add `@npmcli/move-file` v2.0.1 to `pnpm.allowedDeprecatedVersions` - fix or comment out various reported lint issues
Diffstat (limited to 'src/components/layout/Sidebar.tsx')
-rw-r--r--src/components/layout/Sidebar.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/layout/Sidebar.tsx b/src/components/layout/Sidebar.tsx
index 7904d7653..e423e408b 100644
--- a/src/components/layout/Sidebar.tsx
+++ b/src/components/layout/Sidebar.tsx
@@ -352,6 +352,7 @@ class Sidebar extends Component<IProps, IState> {
352 type="button" 352 type="button"
353 onClick={() => openDownloads({ path: '/downloadmanager' })} 353 onClick={() => openDownloads({ path: '/downloadmanager' })}
354 className={ 354 className={
355 // biome-ignore lint/style/useTemplate: <explanation>
355 'sidebar__button' + 356 'sidebar__button' +
356 `${isDownloading ? ' sidebar__button--downloading' : ''}` + 357 `${isDownloading ? ' sidebar__button--downloading' : ''}` +
357 `${justFinishedDownloading ? ' sidebar__button--done' : ''}` 358 `${justFinishedDownloading ? ' sidebar__button--done' : ''}`