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