Add build version to menu

This commit is contained in:
Paul Frazee 2022-12-06 12:40:40 -06:00
parent 246b0e19e1
commit 588aface7c
6 changed files with 27 additions and 3 deletions

View file

@ -21,7 +21,7 @@ export function UserAvatar({
size: number
handle: string
displayName: string | undefined
userAvatar: string | null | undefined
userAvatar?: string | null
setUserAvatar?: React.Dispatch<React.SetStateAction<string | null>>
}) {
const initials = getInitials(displayName || handle)

View file

@ -17,7 +17,7 @@ export function UserBanner({
setUserBanner,
}: {
handle: string
userBanner: string | null | undefined
userBanner?: string | null
setUserBanner?: React.Dispatch<React.SetStateAction<string | null>>
}) {
const gradient = getGradient(handle)