Skip to content

Commit 70c7536

Browse files
authored
Merge pull request #110 from parteekcoder/removing_share_button
Update toolbarList.js
2 parents fcc42a5 + d49966b commit 70c7536

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/toolbarActions/toolbarList.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable no-alert */
22
import {
3-
FaSave, FaUndo, FaRedo, FaTrash, FaFileImport, FaPlus, FaDownload, FaEdit, FaRegTimesCircle, FaShare, FaHistory,
3+
FaSave, FaUndo, FaRedo, FaTrash, FaFileImport, FaPlus, FaDownload, FaEdit, FaRegTimesCircle, FaHistory,
44
FaHammer, FaBug, FaBomb, FaToggleOn, FaThermometerEmpty,
55
} from 'react-icons/fa';
66

@@ -11,7 +11,7 @@ import {
1111

1212
import {
1313
createNode, editElement, deleteElem, downloadImg, saveAction, saveGraphMLFile,
14-
createFile, readFile, clearAll, undo, redo, openShareModal, viewHistory,
14+
createFile, readFile, clearAll, undo, redo, viewHistory,
1515
toggleServer,
1616
// openSettingModal,
1717
} from './toolbarFunctions';
@@ -222,14 +222,14 @@ const toolbarList = (state, dispatcher) => [
222222
active: true,
223223
visibility: true,
224224
},
225-
{
226-
type: 'action',
227-
text: 'Share',
228-
icon: FaShare,
229-
action: openShareModal,
230-
active: true,
231-
visibility: true,
232-
},
225+
// {
226+
// type: 'action',
227+
// text: 'Share',
228+
// icon: FaShare,
229+
// action: openShareModal,
230+
// active: true,
231+
// visibility: true,
232+
// },
233233
{
234234
type: 'menu',
235235
text: 'Export',

0 commit comments

Comments
 (0)