diff --git a/src/pages/create/index.tsx b/src/pages/create/index.tsx index 82f4d0c..6e46fe8 100644 --- a/src/pages/create/index.tsx +++ b/src/pages/create/index.tsx @@ -25,7 +25,7 @@ import { NostrController, RelayController } from '../../controllers' -import { appPrivateRoutes } from '../../routes' +import { appPrivateRoutes, appPublicRoutes } from '../../routes' import { CreateSignatureEventContent, KeyboardCode, @@ -925,7 +925,14 @@ export const CreatePage = () => { toast.error('Failed to publish notifications') }) - navigate(appPrivateRoutes.sign, { state: { meta } }) + const isFirstSigner = signers[0].pubkey === usersPubkey + + if (isFirstSigner) { + navigate(appPrivateRoutes.sign, { state: { meta } }) + } else { + const createSignatureJson = JSON.parse(createSignature) + navigate(`${appPublicRoutes.verify}/${createSignatureJson.id}`) + } } else { const zip = new JSZip()