Skip to content

Commit 65b5d89

Browse files
committed
[gephi-lite] homogeneous buttons in modal
1 parent e258f95 commit 65b5d89

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/gephi-lite/src/views/graphPage/modals/FunctionEditorModal.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Editor, { Monaco } from "@monaco-editor/react";
22
import { useCallback, useState } from "react";
33
import { useTranslation } from "react-i18next";
44

5-
import { CodeEditorIcon, RunIcon, SaveIcon } from "../../../components/common-icons";
5+
import { CodeEditorIcon } from "../../../components/common-icons";
66
import { Modal } from "../../../components/modals";
77
import { usePreferences } from "../../../core/context/dataContexts";
88
import { ModalProps } from "../../../core/modals/types";
@@ -107,13 +107,11 @@ export function FunctionEditorModal<T>(props: ModalProps<FunctionEditorModalProp
107107
className="btn btn-primary"
108108
onClick={() => save(false, code)}
109109
>
110-
<SaveIcon className="me-1" />
111110
{t("common.save")}
112111
</button>
113112

114113
{withSaveAndRun && (
115114
<button type="submit" title={t("common.save-and-run").toString()} className="btn btn-primary">
116-
<RunIcon className="me-1" />
117115
{t("common.save-and-run")}
118116
</button>
119117
)}

0 commit comments

Comments
 (0)