ci: fix code style linting errors

This commit is contained in:
philippkuehn
2021-06-14 14:14:00 +00:00
committed by GitHub Actions
parent c3afe880ae
commit 88329c8567

View File

@@ -67,15 +67,15 @@ export const Mention = Node.create<MentionOptions>({
parseHTML: element => { parseHTML: element => {
return { return {
label: element.getAttribute('data-label'), label: element.getAttribute('data-label'),
}; }
}, },
renderHTML: attributes => { renderHTML: attributes => {
if (!attributes.label) { if (!attributes.label) {
return {}; return {}
} }
return { return {
'data-label': attributes.label, 'data-label': attributes.label,
}; }
}, },
}, },
} }