Skip to content

Commit

Permalink
fix: remove outdated prop
Browse files Browse the repository at this point in the history
  • Loading branch information
dnlkoch committed Aug 16, 2024
1 parent 0346f3f commit aba4946
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/components/ToolMenu/Draw/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ export const Draw: React.FC<DrawProps> = ({
drawType="Point"
type="link"
pressed={false}
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faCircle}
Expand All @@ -212,7 +211,6 @@ export const Draw: React.FC<DrawProps> = ({
value="draw-line"
drawType="LineString"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faGripLines}
Expand All @@ -230,7 +228,6 @@ export const Draw: React.FC<DrawProps> = ({
value="draw-polygon"
drawType="Polygon"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faShapes}
Expand All @@ -248,7 +245,6 @@ export const Draw: React.FC<DrawProps> = ({
value="draw-circle"
drawType="Circle"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faCircleNotch}
Expand All @@ -266,7 +262,6 @@ export const Draw: React.FC<DrawProps> = ({
value="draw-rectangle"
drawType="Rectangle"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faSquare}
Expand All @@ -283,7 +278,6 @@ export const Draw: React.FC<DrawProps> = ({
value="draw-text"
drawType="Text"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faFont}
Expand All @@ -300,7 +294,6 @@ export const Draw: React.FC<DrawProps> = ({
<ModifyButton
value="draw-modify"
type="link"
buttonTransparent={true}
onClick={() => onModifyButtonToggle}
>
<FontAwesomeIcon
Expand All @@ -317,7 +310,6 @@ export const Draw: React.FC<DrawProps> = ({
<DeleteButton
value="draw-delete"
type="link"
buttonTransparent={true}
>
<FontAwesomeIcon
icon={faEraser}
Expand Down
2 changes: 0 additions & 2 deletions src/components/ToolMenu/Measure/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export const Measure: React.FC<MeasureProps> = ({
measureType="line"
type="link"
continueLineMsg={t('Measure.clicktodrawline')}
buttonTransparent={true}
>
<FontAwesomeIcon icon={faPenRuler} />
<span className="measure-text">{t('Measure.line')}</span>
Expand All @@ -74,7 +73,6 @@ export const Measure: React.FC<MeasureProps> = ({
measureType="polygon"
type="link"
continuePolygonMsg={t('Measure.clicktodrawarea')}
buttonTransparent={true}
>
<FontAwesomeIcon icon={faDrawPolygon} />
<span className="measure-text">{t('Measure.area')}</span>
Expand Down

0 comments on commit aba4946

Please sign in to comment.