mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
fix: types
This commit is contained in:
@@ -81,13 +81,15 @@ const ZapReceiptDisplay: Component<ZapReceiptProps> = (props) => {
|
||||
</div>
|
||||
<div class="notification-user flex gap-1 overflow-hidden">
|
||||
<div class="author-icon h-5 w-5 shrink-0 overflow-hidden rounded">
|
||||
<Show when={senderProfile()?.picture != null}>
|
||||
<Show when={senderProfile()?.picture} keyed>
|
||||
{(url) => (
|
||||
<img
|
||||
src={thumbnailUrl(senderProfile()?.picture, 'icon')}
|
||||
src={thumbnailUrl(url, 'icon')}
|
||||
alt="icon"
|
||||
// TODO autofit
|
||||
class="h-full w-full object-cover"
|
||||
/>
|
||||
)}
|
||||
</Show>
|
||||
</div>
|
||||
<div class="flex min-w-0 flex-1 overflow-hidden">
|
||||
|
||||
Reference in New Issue
Block a user