mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
feat: cu flags
This commit is contained in:
1 parent
c674da29d5
commit
0e76184813
2 files changed
+4
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -34,7 +34,9 @@ export function TankCard(props: PropsWithSkeleton<TankCardProps>) {
|
||||
<div
|
||||
className={styles.flag}
|
||||
style={{
|
||||
backgroundImage: `url(/api/nations/${tank!.tank!.nation}/card.webp)`,
|
||||
backgroundImage: clientUnmounted
|
||||
? "url(/api/unmounted/flag.png)"
|
||||
: `url(/api/nations/${tank!.tank!.nation}/card.webp)`,
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
@@ -44,7 +46,7 @@ export function TankCard(props: PropsWithSkeleton<TankCardProps>) {
|
||||
className={styles.icon}
|
||||
style={{
|
||||
backgroundImage: clientUnmounted
|
||||
? `url(/api/unmounted/tank.png)`
|
||||
? "url(/api/unmounted/tank.png)"
|
||||
: `url(/api/tanks/${props.id}.webp)`,
|
||||
}}
|
||||
/>
|
||||
|
||||
Reference in new issue
Block a user