refactor: profile & other styles

This commit is contained in:
2023-12-07 12:35:46 +00:00
parent 51905c4b7f
commit 30907927d1
25 changed files with 197 additions and 457 deletions

View File

@ -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);
}