mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-19 01:03:57 +00:00
fix: removed void and converted conditional to boolean
This commit is contained in:
@@ -59,7 +59,7 @@ export const loadState = async () => {
|
||||
void syncDownloadSourcesFromApi();
|
||||
|
||||
// Check for new download options on startup
|
||||
void DownloadSourcesChecker.checkForChanges();
|
||||
DownloadSourcesChecker.checkForChanges();
|
||||
// WSClient.connect();
|
||||
});
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ export function SidebarGameItem({
|
||||
{getGameTitle(game)}
|
||||
</span>
|
||||
|
||||
{game.newDownloadOptionsCount && game.newDownloadOptionsCount > 0 && (
|
||||
{(game.newDownloadOptionsCount ?? 0) > 0 && (
|
||||
<span className="sidebar__game-badge">
|
||||
<div className="sidebar__game-badge-plus">+</div>
|
||||
<div className="sidebar__game-badge-count">
|
||||
|
||||
Reference in New Issue
Block a user