refactor: profile & other styles
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import { useMemo } from "react";
|
||||
import { getPlaceholder } from "@/utils";
|
||||
|
||||
export default function usePlaceholder(pubkey: string) {
|
||||
const url = useMemo(() => `https://robohash.v0l.io/${pubkey}.png?set=2`, [pubkey]);
|
||||
return url;
|
||||
return getPlaceholder(pubkey);
|
||||
}
|
||||
|
Reference in New Issue
Block a user