show pending

This commit is contained in:
Paul Miller
2023-06-02 10:27:18 -05:00
parent 0794a9200c
commit bbb13f3c73

View File

@@ -124,7 +124,14 @@ export function ActivityItem(props: {
<span class="text-base font-semibold text-neutral-500">Unknown</span>
</Match>
</Switch>
<time class="text-sm text-neutral-500">{timeAgo(props.date)}</time>
<Switch>
<Match when={props.date && props.date > 2147483647}>
<time class="text-sm text-neutral-500">Pending</time>
</Match>
<Match when={true}>
<time class="text-sm text-neutral-500">{timeAgo(props.date)}</time>
</Match>
</Switch>
</div>
<div class="">
<ActivityAmount