1
0
Fork 0

Very embarrassing mistake

Why do I even name such bad variable names
This commit is contained in:
Lim Chee Aun 2022-12-14 22:53:14 +08:00
parent fa1769c3c2
commit 735cbf05b7

View file

@ -113,11 +113,11 @@ function Notification({ notification }) {
<Avatar
url={account.avatarStatic}
size={
accounts < 10
_accounts.length < 10
? 'xl'
: accounts < 100
: _accounts.length < 100
? 'l'
: accounts < 1000
: _accounts.length < 1000
? 'm'
: 's' // My god, this person is popular!
}