mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
added tier badge loading fallback
This commit is contained in:
@@ -258,7 +258,7 @@ function ClientNav() {
|
||||
{!tierReady ? (
|
||||
<div className="xs:hidden md:inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-xs font-semibold bg-muted animate-pulse">
|
||||
<div className="size-3 rounded-full bg-muted-foreground/30" />
|
||||
<span className="text-transparent select-none">Free</span>
|
||||
<span className="text-transparent select-none">Loading</span>
|
||||
</div>
|
||||
) : tierBadge && (
|
||||
<div className={`xs:hidden md:inline-flex items-center gap-1 px-2.5 py-0.5 rounded-full text-xs font-semibold ${tierBadge.cls}`}>
|
||||
|
||||
Reference in New Issue
Block a user