mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 17:23:57 +00:00
fix: formatting
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -39,4 +39,8 @@ export const librarySlice = createSlice({
|
||||
},
|
||||
});
|
||||
|
||||
export const { setLibrary, updateGameNewDownloadOptions, clearNewDownloadOptions } = librarySlice.actions;
|
||||
export const {
|
||||
setLibrary,
|
||||
updateGameNewDownloadOptions,
|
||||
clearNewDownloadOptions,
|
||||
} = librarySlice.actions;
|
||||
|
||||
@@ -16,4 +16,4 @@ export function useDownloadOptionsListener() {
|
||||
|
||||
return unsubscribe;
|
||||
}, [dispatch]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user