Skip to content

Commit

Permalink
refactor: change slice tool icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Jan 11, 2024
1 parent f2a0ce3 commit e995d68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/component/toolbar/FunctionToolBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
import { NMRiumToolBarPreferences } from 'nmr-load-save';
import { useState, useEffect, useCallback, memo } from 'react';
import { FaSearchPlus, FaExpand, FaDiceFour } from 'react-icons/fa';
import { PiKnifeBold } from 'react-icons/pi';

Check warning on line 15 in src/component/toolbar/FunctionToolBar.tsx

View check run for this annotation

Codecov / codecov/patch

src/component/toolbar/FunctionToolBar.tsx#L15

Added line #L15 was not covered by tests
import { Toolbar, ToolbarItemProps } from 'react-science/ui';

import { useChartData } from '../context/ChartContext';
Expand Down Expand Up @@ -111,7 +112,7 @@ function FunctionToolBarInner({
{
id: 'slicing',
label: options.slicing.label,
icon: <p>Slic</p>,
icon: <PiKnifeBold />,

Check warning on line 115 in src/component/toolbar/FunctionToolBar.tsx

View check run for this annotation

Codecov / codecov/patch

src/component/toolbar/FunctionToolBar.tsx#L115

Added line #L115 was not covered by tests
},
{
id: 'rangePicking',
Expand Down

0 comments on commit e995d68

Please sign in to comment.