feat: blogs #118
@ -192,7 +192,7 @@ export const ModForm = ({ existingModData }: ModFormProps) => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const uuid = uuidv4()
|
const uuid = formState.dTag || uuidv4()
|
||||||
const currentTimeStamp = now()
|
const currentTimeStamp = now()
|
||||||
|
|
||||||
const aTag =
|
const aTag =
|
||||||
@ -204,7 +204,7 @@ export const ModForm = ({ existingModData }: ModFormProps) => {
|
|||||||
pubkey: hexPubkey,
|
pubkey: hexPubkey,
|
||||||
content: formState.body,
|
content: formState.body,
|
||||||
tags: [
|
tags: [
|
||||||
['d', formState.dTag || uuid],
|
['d', uuid],
|
||||||
['a', aTag],
|
['a', aTag],
|
||||||
['r', formState.rTag],
|
['r', formState.rTag],
|
||||||
['t', T_TAG_VALUE],
|
['t', T_TAG_VALUE],
|
||||||
|
Loading…
Reference in New Issue
Block a user