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>
|
||||||
<div class="notification-user flex gap-1 overflow-hidden">
|
<div class="notification-user flex gap-1 overflow-hidden">
|
||||||
<div class="author-icon h-5 w-5 shrink-0 overflow-hidden rounded">
|
<div class="author-icon h-5 w-5 shrink-0 overflow-hidden rounded">
|
||||||
<Show when={senderProfile()?.picture != null}>
|
<Show when={senderProfile()?.picture} keyed>
|
||||||
<img
|
{(url) => (
|
||||||
src={thumbnailUrl(senderProfile()?.picture, 'icon')}
|
<img
|
||||||
alt="icon"
|
src={thumbnailUrl(url, 'icon')}
|
||||||
// TODO autofit
|
alt="icon"
|
||||||
class="h-full w-full object-cover"
|
// TODO autofit
|
||||||
/>
|
class="h-full w-full object-cover"
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</Show>
|
</Show>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex min-w-0 flex-1 overflow-hidden">
|
<div class="flex min-w-0 flex-1 overflow-hidden">
|
||||||
|
|||||||
Reference in New Issue
Block a user