fix: add default robohash image path
This commit is contained in:
parent
9b3cc94d18
commit
d50979b8ae
@ -468,8 +468,8 @@ export function kvToObject<T>(o: string, sep?: string) {
|
||||
) as T;
|
||||
}
|
||||
|
||||
export function defaultAvatar(input: string) {
|
||||
return `https://robohash.v0l.io/${input}.png${IsHalloween() ? "?set=set2" : ""}`;
|
||||
export function defaultAvatar(input?: string) {
|
||||
return `https://robohash.v0l.io/${input ?? "missing"}.png${IsHalloween() ? "?set=set2" : ""}`;
|
||||
}
|
||||
|
||||
export function isFormElement(target: HTMLElement): boolean {
|
||||
|
Loading…
x
Reference in New Issue
Block a user