fix: adds notifications

This commit is contained in:
eugene 2024-10-07 17:20:00 +02:00
parent 2b630c94b6
commit f38344b9ac
2 changed files with 4 additions and 0 deletions

View File

@ -691,6 +691,8 @@ export const CreatePage = () => {
const keys = await generateKeys(pubkeys, encryptionKey) const keys = await generateKeys(pubkeys, encryptionKey)
if (!keys) return if (!keys) return
setLoadingSpinnerDesc('Generating an open timestamp.')
const timestamp = await generateTimestamp( const timestamp = await generateTimestamp(
extractNostrId(createSignature) extractNostrId(createSignature)
) )

View File

@ -550,6 +550,8 @@ export const SignPage = () => {
const updatedMeta = updateMetaSignatures(meta, signedEvent) const updatedMeta = updateMetaSignatures(meta, signedEvent)
setLoadingSpinnerDesc('Generating an open timestamp.')
const timestamp = await generateTimestamp(signedEvent.id) const timestamp = await generateTimestamp(signedEvent.id)
if (timestamp) { if (timestamp) {
updatedMeta.timestamps = [...(updatedMeta.timestamps || []), timestamp] updatedMeta.timestamps = [...(updatedMeta.timestamps || []), timestamp]