We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df01f22 commit 3a91111Copy full SHA for 3a91111
src/renderer/components/editor/TheEditor.vue
@@ -204,7 +204,8 @@ const format = async () => {
204
source: props.modelValue,
205
parser
206
})
207
- snippetStore.patchCurrentSnippetContentByKey('value', formatted)
+ await snippetStore.patchCurrentSnippetContentByKey('value', formatted)
208
+ setValue()
209
track('snippets/format')
210
} catch (err) {
211
console.error(err)
0 commit comments