mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-15 20:54:31 +00:00
fix lint
This commit is contained in:
parent
5c702225e1
commit
db820623a1
@ -641,12 +641,17 @@ export default function ProcessModelEditDiagram() {
|
|||||||
return (
|
return (
|
||||||
<Modal
|
<Modal
|
||||||
open={showMarkdownEditor}
|
open={showMarkdownEditor}
|
||||||
modalHeading={`Edit Markdown`}
|
modalHeading="Edit Markdown"
|
||||||
primaryButtonText="Close"
|
primaryButtonText="Close"
|
||||||
onRequestSubmit={handleMarkdownEditorClose}
|
onRequestSubmit={handleMarkdownEditorClose}
|
||||||
size="lg"
|
size="lg"
|
||||||
>
|
>
|
||||||
<MDEditor height={500} highlightEnable={false} value={markdownText} onChange={setMarkdownText} />
|
<MDEditor
|
||||||
|
height={500}
|
||||||
|
highlightEnable={false}
|
||||||
|
value={markdownText}
|
||||||
|
onChange={setMarkdownText}
|
||||||
|
/>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -676,8 +681,6 @@ export default function ProcessModelEditDiagram() {
|
|||||||
* @param processId
|
* @param processId
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const onLaunchBpmnEditor = (processId: string) => {
|
const onLaunchBpmnEditor = (processId: string) => {
|
||||||
const file = findFileNameForReferenceId(processId, 'bpmn');
|
const file = findFileNameForReferenceId(processId, 'bpmn');
|
||||||
if (file) {
|
if (file) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user