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 164bf86 commit 90a36a9Copy full SHA for 90a36a9
src/components/home.vue
@@ -232,12 +232,8 @@ const emojiOptions = computed(() => {
232
})
233
234
const content = computed(() => {
235
- const commit =
236
- String.raw`${type.value}(${scope.value ?? ''}): ${emoji.value} ${subject.value}
237
-
238
-${body.value}
239
240
-`;
+ let commit = `${type.value}(${scope.value ?? ''}): ${emoji.value} ${subject.value}`;
+ commit += body.value && `\r\n\r\n${body.value}\r\n\r\n`
241
return commit;
242
});
243
0 commit comments