Skip to content

Commit 471fbf9

Browse files
KATO-Hiroclaude
andcommitted
refactor(votes): remove redundant PENDING branch in grade display
GradeLabel handles PENDING internally, so the explicit else branch is unnecessary. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a4282b5 commit 471fbf9

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/routes/votes/+page.svelte

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,8 @@
8787
3票以上集まると中央値が暫定グレードとして一覧表に反映されます。
8888
</Tooltip>
8989
{/if}
90-
{#if displayGrade !== TaskGrade.PENDING}
91-
<GradeLabel taskGrade={displayGrade} />
92-
{:else}
93-
<span class="text-gray-400 dark:text-gray-500">-</span>
94-
{/if}
90+
91+
<GradeLabel taskGrade={displayGrade} />
9592
</div>
9693
</TableBodyCell>
9794
<TableBodyCell class="text-base">

0 commit comments

Comments
 (0)