update relay list
This commit is contained in:
@@ -2,7 +2,7 @@ import OnboardingLayout from '@components/layouts/onboarding';
|
||||
import { RelayContext } from '@components/relaysProvider';
|
||||
import { UserBase } from '@components/user/base';
|
||||
|
||||
import { DEFAULT_RELAYS } from '@stores/constants';
|
||||
import { WRITEONLY_RELAYS } from '@stores/constants';
|
||||
|
||||
import { usePageContext } from '@utils/hooks/usePageContext';
|
||||
import { fetchProfileMetadata } from '@utils/hooks/useProfileMetadata';
|
||||
@@ -100,7 +100,7 @@ export function Page() {
|
||||
event.id = getEventHash(event);
|
||||
event.sig = signEvent(event, privkey);
|
||||
// broadcast
|
||||
pool.publish(event, DEFAULT_RELAYS);
|
||||
pool.publish(event, WRITEONLY_RELAYS);
|
||||
// redirect to splashscreen
|
||||
navigate('/');
|
||||
}, [pubkey, privkey, follows, pool]);
|
||||
|
||||
Reference in New Issue
Block a user