File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export function App() {
18
18
< Layout >
19
19
< Header />
20
20
< Panel >
21
- < PanelInputs area = { formattedArea } />
21
+ < PanelInputs formattedArea = { formattedArea } />
22
22
< Stats
23
23
stats = { appState . stats }
24
24
currentTimestamp = { appState . currentTimestamp }
Original file line number Diff line number Diff line change 1
1
interface PanelInputsProps {
2
- area : number ;
2
+ formattedArea : string ;
3
3
}
4
4
5
5
export function PanelInputs ( props : PanelInputsProps ) {
6
- const { area } = props ;
6
+ const { formattedArea } = props ;
7
7
8
8
return (
9
9
< article >
10
10
< section >
11
11
< h3 > Area of Interest (AOI)</ h3 >
12
12
< small > Zoom and pan the map to set the AOI for stats </ small >
13
13
< p >
14
- Currently selected: < strong > { area || "-" } km& sup2 ; </ strong >
14
+ Currently selected: < strong > { formattedArea || "-" } km& sup2 ; </ strong >
15
15
</ p >
16
16
</ section >
17
17
< section >
You can’t perform that action at this time.
0 commit comments