Skip to content

Commit

Permalink
2024-09-13T22-46-25
Browse files Browse the repository at this point in the history
  • Loading branch information
sspilleman committed Sep 13, 2024
1 parent 5d732e1 commit ab30074
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</svelte:head>

<section class="mt-24 flex flex-row gap-4 w-full justify-center">
{#if $ratecard.length > 0}
{#if $ratecard && $ratecard.length > 0}
<a
href="/ratecard"
class="button w-48 h-48 bg-gray-200 hover:bg-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700 flex flex-col rounded-xl justify-evenly"
Expand All @@ -21,7 +21,7 @@
<div class="flex flex-row justify-center dark:text-white mb-6">ratecard</div>
</a>
{/if}
{#if $usage.length > 0}
{#if $usage && $usage.length > 0}
<a
href="/usage"
class="button w-48 h-48 bg-gray-200 hover:bg-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700 flex flex-col rounded-xl justify-evenly"
Expand All @@ -32,7 +32,7 @@
<div class="flex flex-row justify-center dark:text-white mb-6">usage</div>
</a>
{/if}
{#if $computation.length > 1}
{#if $computation && $computation.length > 1}
<a
href="/computation"
class="button w-48 h-48 bg-gray-200 hover:bg-gray-300 dark:bg-gray-800 dark:hover:bg-gray-700 flex flex-col rounded-xl justify-evenly"
Expand Down

0 comments on commit ab30074

Please sign in to comment.