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 => {
return {
label: element.getAttribute('data-label'),
};
}
},
renderHTML: attributes => {
if (!attributes.label) {
return {};
return {}
}
return {
'data-label': attributes.label,
};
}
},
},
}