interface AvatarOverride

Set by WSProvider for a user whose profile changed, and read by Avatar, where it wins over the possibly stale props the page fetched.

Properties

hasAvatar: boolean
version: number

The user's updatedAt in ms, or the arrival time without one. It busts the cached image.

Usage

import { type AvatarOverride } from "src/contexts/ws/AvatarOverrideContext.ts";