fix: formatting

This commit is contained in:
Moyasee
2025-10-30 23:26:22 +02:00
parent 101bc35460
commit 4dd3c9de76
8 changed files with 108 additions and 55 deletions

View File

@@ -84,7 +84,9 @@ export function SidebarGameItem({
{game.newDownloadOptionsCount && game.newDownloadOptionsCount > 0 && (
<span className="sidebar__game-badge">
<div className="sidebar__game-badge-plus">+</div>
<div className="sidebar__game-badge-count">{game.newDownloadOptionsCount}</div>
<div className="sidebar__game-badge-count">
{game.newDownloadOptionsCount}
</div>
</span>
)}
</button>

View File

@@ -116,7 +116,7 @@
}
&__game-badge {
background: rgba(255, 255, 255, 0.1);;
background: rgba(255, 255, 255, 0.1);
color: #fff;
font-size: 10px;
font-weight: bold;

View File

@@ -39,4 +39,8 @@ export const librarySlice = createSlice({
},
});
export const { setLibrary, updateGameNewDownloadOptions, clearNewDownloadOptions } = librarySlice.actions;
export const {
setLibrary,
updateGameNewDownloadOptions,
clearNewDownloadOptions,
} = librarySlice.actions;

View File

@@ -16,4 +16,4 @@ export function useDownloadOptionsListener() {
return unsubscribe;
}, [dispatch]);
}
}