🔔
Notifications
{state.status === "loaded" && totalUnread > 0 && (
{totalUnread} new
)}
{state.status === "loading" && (
Loading…
)}
{state.status === "error" && (
)}
{state.status === "loaded" && state.items.length === 0 && (
🔕
Nothing here yet.
You'll be notified when someone follows your playlists, upvotes
your dumps, or posts new content.
)}
{state.status === "loaded" && state.items.length > 0 &&
groupByDate(state.items).map(({ label, items }) => (
{label === "Today"
? t`Today`
: label === "Yesterday"
? t`Yesterday`
: t`Earlier`}
))}
{state.status === "loaded" && state.hasMore && (
)}