[go: nahoru, domu]

Skip to content

Commit

Permalink
fix: uninstall not disabled while pending game dir input
Browse files Browse the repository at this point in the history
  • Loading branch information
iGoodie committed Sep 19, 2022
1 parent 248c050 commit 302765c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function App() {
</FieldGrid>

<div className="actions">
{(deleting || localInstalled) && (
{valid && (deleting || localInstalled) && (
<button
className="btn-uninstall"
disabled={deleting}
Expand All @@ -127,7 +127,7 @@ function App() {
{deleting ? "Uninstalling..." : "Uninstall"}
</button>
)}
{!pending && (
{valid && !pending && (
<button
className="btn-update"
disabled={
Expand Down
1 change: 0 additions & 1 deletion src/style/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
background: url("../assets/wvw-bg.jpeg");
background-size: cover;
background-repeat: no-repeat;
background-position: -120px;
filter: blur(5px);
pointer-events: none;
}
Expand Down

0 comments on commit 302765c

Please sign in to comment.