Skip to content

Commit a0b1a90

Browse files
authored
Merge pull request #159 from Rahuljagwani/main
Name and icon for restoring graph button changed
2 parents 57c1002 + c08feb5 commit a0b1a90

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

src/toolbarActions/toolbarList.js

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

7+
import {
8+
BsArrowRepeat,
9+
} from 'react-icons/bs';
10+
711
import {
812
// FiChevronDown, FiChevronsDown, FiChevronsUp, FiChevronUp,
913
FiPlay, FiStopCircle, FiToggleLeft, FiTriangle,
@@ -71,8 +75,8 @@ const toolbarList = (state, dispatcher) => [
7175
},
7276
{
7377
type: 'action',
74-
text: 'Reset',
75-
icon: FaUndoAlt,
78+
text: 'Restore',
79+
icon: BsArrowRepeat,
7680
action: resetAfterClear,
7781
active: state.curGraphInstance && state.resetEnabled,
7882
visibility: true,

0 commit comments

Comments
 (0)