Fix(reviews): review overview doesn't crash anymore if you reviewed the same place twice or more

This commit is contained in:
Pieter Vander Vennet 2025-07-10 16:34:45 +02:00
parent 0b5b56b48a
commit 1ba3c5d6f3

View file

@ -31,7 +31,7 @@
<div class="flex flex-col">
{#if $reviews?.length > 0}
<div class="flex flex-col gap-y-1" on:keypress={(e) => console.log("Got keypress", e)}>
{#each $reviews as review (review.sub)}
{#each $reviews as review}
<SingleReview {review} showSub={true} {state} />
{/each}
</div>