File tree Expand file tree Collapse file tree 2 files changed +6
-31
lines changed Expand file tree Collapse file tree 2 files changed +6
-31
lines changed Original file line number Diff line number Diff line change 11import { useMemo } from 'react' ;
22import { useOutletContext } from 'react-router-dom' ;
33import useTranslation from '#hooks/useTranslation' ;
4- import { DownloadFillIcon } from '@ifrc-go/icons' ;
54import {
65 compareDate ,
76 isDefined ,
@@ -11,7 +10,6 @@ import {
1110 listToMap ,
1211} from '@togglecorp/fujs' ;
1312
14- import Button from '#components/Button' ;
1513import Container from '#components/Container' ;
1614import HtmlOutput from '#components/HtmlOutput' ;
1715import KeyFigure from '#components/KeyFigure' ;
@@ -294,16 +292,6 @@ export function Component() {
294292 className = { styles . mapContainer }
295293 heading = { strings . emergencyMapTitle }
296294 withHeaderBorder
297- actions = { (
298- < Button
299- variant = "secondary"
300- name = { undefined }
301- title = { strings . exportMap }
302- icons = { ( < DownloadFillIcon /> ) }
303- >
304- { strings . exportMap }
305- </ Button >
306- ) }
307295 >
308296 { emergencyResponse && (
309297 < EmergencyMap
Original file line number Diff line number Diff line change @@ -5,12 +5,8 @@ import {
55 isDefined ,
66 isNotDefined ,
77} from '@togglecorp/fujs' ;
8- import {
9- DownloadFillIcon ,
10- } from '@ifrc-go/icons' ;
118
129import BlockLoading from '#components/BlockLoading' ;
13- import Button from '#components/Button' ;
1410import Container from '#components/Container' ;
1511import ExpandableContainer , {
1612 type Props as ExpandableContainerProps ,
@@ -295,21 +291,12 @@ export function Component() {
295291 />
296292 ) }
297293 actions = { (
298- < >
299- < Button
300- variant = "primary"
301- name = { undefined }
302- icons = { < DownloadFillIcon /> }
303- >
304- { strings . export }
305- </ Button >
306- < Link
307- variant = "secondary"
308- to = "newThreeWProject"
309- >
310- { strings . addThreeW }
311- </ Link >
312- </ >
294+ < Link
295+ variant = "secondary"
296+ to = "newThreeWProject"
297+ >
298+ { strings . addThreeW }
299+ </ Link >
313300 ) }
314301 >
315302 < MovementActivitiesMap
You can’t perform that action at this time.
0 commit comments