pointless refactors

This commit is contained in:
William Casarin
2023-04-06 08:27:04 -07:00
parent b532dc48e1
commit 532eaa35bf
2 changed files with 25 additions and 25 deletions

View File

@@ -102,10 +102,10 @@ struct TranslateView: View {
}
}
if let translated = translated_note {
if let translated_note {
// Render translated note.
let translatedBlocks = event.get_blocks(content: translated)
translated_artifacts = render_blocks(blocks: translatedBlocks, profiles: damus_state.profiles, privkey: damus_state.keypair.privkey)
let translated_blocks = event.get_blocks(content: translated_note)
translated_artifacts = render_blocks(blocks: translated_blocks, profiles: damus_state.profiles, privkey: damus_state.keypair.privkey)
}
checkingTranslationStatus = false