{#if _state === "done"} {:else if _state === "saving"} {:else}
{ confirmedScore = e.detail.score score = confirmedScore console.log("Confirmed score is:", confirmedScore) }} on:hover={(e) => { score = e.detail.score }} on:mouseout={(e) => { score = null }} score={score ?? confirmedScore ?? 0} starSize="w-8 h-8" /> {#if confirmedScore !== undefined}