revamp onboarding and launching process

This commit is contained in:
reya
2023-11-30 09:38:58 +07:00
parent 00e4f9d357
commit f4390b29e2
41 changed files with 615 additions and 963 deletions
@@ -67,7 +67,7 @@ export const UserWithDrawer = memo(function UserWithDrawer({
};
useEffect(() => {
if (db.account.follows.includes(pubkey)) {
if (db.account.contacts.includes(pubkey)) {
setFollowed(true);
}
}, []);
+1 -1
View File
@@ -28,7 +28,7 @@ export function ExploreScreen() {
const { getContactsByPubkey } = useNostr();
const { project } = useReactFlow();
const defaultContacts = useMemo(() => getMultipleRandom(db.account.follows, 10), []);
const defaultContacts = useMemo(() => getMultipleRandom(db.account.contacts, 10), []);
const reactFlowWrapper = useRef(null);
const connectingNodeId = useRef(null);