mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-10 03:47:28 +08:00
[-] Remove the unnecessary clz shorthand
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user