Seasons: Show text if no reported weapons yet

This commit is contained in:
Kalle 2023-08-19 10:33:56 +03:00
parent 35e5f972de
commit 0800a58966

View File

@ -275,6 +275,11 @@ function Weapons({
return (
<div className="stack sm horizontal justify-center flex-wrap">
{weapons.length === 0 ? (
<div className="text-lighter font-bold my-4">
No reported weapons yet
</div>
) : null}
{slicedWeapons.map(({ count, weaponSplId }) => (
<WeaponCircle
key={weaponSplId}