Skip to content

Commit

Permalink
problem: problem page content does not update
Browse files Browse the repository at this point in the history
  • Loading branch information
gsovereignty committed Sep 27, 2024
1 parent 6e5e403 commit 25ff015
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ProblemView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
<p class="text-sm text-muted-foreground">
{problem.para}
</p>
<Carta.CartaViewer carta={new Carta.Carta()} value={problem.page} />
{#key problem.event.id}
<Carta.CartaViewer carta={new Carta.Carta()} value={problem.page} />
{/key}
</div>
{:else}
<Card.Root class="m-4 mt-32 p-4"
Expand Down

0 comments on commit 25ff015

Please sign in to comment.