[-] Remove the unnecessary clz shorthand

This commit is contained in:
Azalea
2024-03-02 19:55:52 -05:00
parent c2fef3fa25
commit dfd8d1b0c9
5 changed files with 10 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts">
import { clz, title } from "../libs/ui";
import { title } from "../libs/ui";
import { GAME } from "../libs/sdk";
import type { GenericRanking } from "../libs/generalTypes";
import StatusOverlays from "../components/StatusOverlays.svelte";
@@ -30,7 +30,7 @@
<span class="ap">AP</span>
</div>
{#each d.users as user, i (user.rank)}
<div class={clz({ alternate: i % 2 === 1 }, "lb-user")}>
<div class="lb-user" class:alternate={i % 2 === 1}>
<span class="rank">#{user.rank}</span>
{#if user.username !== ""}
<a class="name" href="/u/{user.username}">{user.name}</a>