Profile: remove the divier when no pinned toots

This commit is contained in:
thislight 2024-11-03 18:23:24 +08:00
parent 012b078cee
commit c69d54e171
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E

View file

@ -437,7 +437,7 @@ const Profile: Component = () => {
</div>
<TimeSourceProvider value={time}>
<Show when={recentTootFilter().pinned}>
<Show when={recentTootFilter().pinned && pinnedToots.list.length > 0}>
<TootList
threads={pinnedToots.list}
onUnknownThread={pinnedToots.getPath}