This commit is contained in:
parent
398ab46e42
commit
79e303f097
@ -18,6 +18,9 @@
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
},
|
||||
"signUp": {
|
||||
"moderation": true
|
||||
},
|
||||
"eventLinkPrefix": "nevent",
|
||||
"profileLinkPrefix": "nprofile",
|
||||
"defaultRelays": {
|
||||
|
@ -18,6 +18,9 @@
|
||||
"deck": true,
|
||||
"zapPool": true
|
||||
},
|
||||
"signUp": {
|
||||
"moderation": false
|
||||
},
|
||||
"eventLinkPrefix": "note",
|
||||
"profileLinkPrefix": "npub",
|
||||
"defaultRelays": {
|
||||
|
3
packages/app/custom.d.ts
vendored
3
packages/app/custom.d.ts
vendored
@ -59,6 +59,9 @@ declare const CONFIG: {
|
||||
deck: boolean;
|
||||
zapPool: boolean;
|
||||
};
|
||||
signUp: {
|
||||
moderation: boolean;
|
||||
};
|
||||
eventLinkPrefix: NostrPrefix;
|
||||
profileLinkPrefix: NostrPrefix;
|
||||
defaultRelays: Record<string, RelaySettings>;
|
||||
|
@ -32,7 +32,7 @@ export function Discover() {
|
||||
<AsyncButton
|
||||
className="primary"
|
||||
onClick={() =>
|
||||
navigate("/login/sign-up/moderation", {
|
||||
navigate(CONFIG.signUp.moderation ? "/login/sign-up/moderation" : "/", {
|
||||
state,
|
||||
})
|
||||
}>
|
||||
|
Loading…
Reference in New Issue
Block a user