Skip to content

Commit

Permalink
disable preload #101
Browse files Browse the repository at this point in the history
  • Loading branch information
giggity-hub committed Sep 4, 2023
1 parent f3ca155 commit 30b3a3a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
export let data;
</script>

<div class="container mt-5">
<div class="container mt-5" data-sveltekit-preload-data="off">
{#each data.challenges as challenge}
<a class="text-decoration-none" href="/new_challenge/{challenge.id}">
<div data-test="challenge-card" data-challenge-status="{challenge.status}" data-challenge-id="{challenge.id}" class="card mb-3">
<div class="card-body">
<div class="card-body ">
<h5 class="me-2 d-inline-block card-title">{challenge.id}</h5>
{#if challenge.status == 0}
<span class="badge rounded-pill bg-dark">visited</span>
Expand Down

0 comments on commit 30b3a3a

Please sign in to comment.