Skip to content

Commit

Permalink
fix: removed exta click from hint flow
Browse files Browse the repository at this point in the history
  • Loading branch information
jparkhouse committed Apr 23, 2024
1 parent d6d253f commit b601865
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/components/HintModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
colourValue: colourHint,
numberValue: null,
};
saveHint();
}
function selectNumberHint(numberHint: number): void {
Expand All @@ -224,6 +225,7 @@
colourValue: null,
numberValue: numberHint,
};
saveHint();
}
function closePanel() {
Expand Down Expand Up @@ -274,7 +276,6 @@
{/each}
</div>
<div class="actions">
<button on:click={saveHint} disabled={!selectedHint}>Save</button>
<button on:click={closePanel}>Cancel</button>
</div>
</div>
Expand Down

0 comments on commit b601865

Please sign in to comment.