wip: migrate channel to zustand

This commit is contained in:
Ren Amamiya
2023-05-29 07:52:03 +07:00
parent ff6d494b49
commit 0492729e7e
11 changed files with 113 additions and 97 deletions

View File

@@ -4,7 +4,7 @@ import { DEFAULT_AVATAR } from "@stores/constants";
import { useProfile } from "@utils/hooks/useProfile";
export default function ActiveAccount({ data }: { data: any }) {
const { user } = useProfile(data.npub);
const { user } = useProfile(data.pubkey);
return (
<button type="button" className="relative h-11 w-11 overflow-hidden">