mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: fallback element for muted user list
This commit is contained in:
@@ -498,7 +498,9 @@ const MuteConfig = () => {
|
||||
{(pubkey) => (
|
||||
<li class="flex items-center border-b border-border pr-4">
|
||||
<div class="flex-1 truncate">
|
||||
<LazyLoad>{() => <UserNameDisplay pubkey={pubkey} />}</LazyLoad>
|
||||
<LazyLoad fallback={<div class="h-4" />}>
|
||||
{() => <UserNameDisplay pubkey={pubkey} />}
|
||||
</LazyLoad>
|
||||
</div>
|
||||
<button class="size-3 shrink-0" onClick={() => removeMutedPubkey(pubkey)}>
|
||||
<XMark />
|
||||
|
||||
Reference in New Issue
Block a user