staging release #299

Merged
b merged 67 commits from staging into main 2025-01-07 10:10:29 +00:00
Showing only changes of commit ee3e0e1bb1 - Show all commits

View File

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