diff --git a/packages/app/src/Components/User/Debug.tsx b/packages/app/src/Components/User/Debug.tsx new file mode 100644 index 00000000..d788dd87 --- /dev/null +++ b/packages/app/src/Components/User/Debug.tsx @@ -0,0 +1,40 @@ +import { useUserProfile } from "@snort/system-react"; + +import { UserRelays } from "@/Cache"; +import { getRelayName } from "@/Utils"; + +export function UserDebug({ pubkey }: { pubkey: string }) { + const profile = useUserProfile(pubkey); + const relays = UserRelays.getFromCache(pubkey); + + return ( +