File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ const Scene = ({
23
23
setSelectedMesh,
24
24
selectedPVSystem,
25
25
setSelectedPVSystem,
26
- pvPoints,
27
- setPVPoints,
28
26
vegetationGeometries,
29
27
geoLocation,
30
28
} ) => {
31
29
// showTerrain decides if the underlying Map is visible or not
32
30
const [ showTerrain , setShowTerrain ] = useState ( true )
33
31
// A list of visible PV Systems - they get visible after they are drawn on a building and calculated
34
32
const [ pvSystems , setPVSystems ] = useState ( [ ] )
33
+ // pvPoints are the red points that appear when drawing PV systems
34
+ const [ pvPoints , setPVPoints ] = useState ( [ ] )
35
35
36
36
window . setPVPoints = setPVPoints
37
37
const position = [
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ function Index() {
16
16
// simulationProgress is used for the loading bar
17
17
const [ simulationProgress , setSimulationProgress ] = useState ( 0 )
18
18
19
- // pvPoints are the red points that appear when drawing PV systems
20
- const [ pvPoints , setPVPoints ] = useState ( [ ] )
21
-
22
19
// The federal State where the material comes from, ie "BY"
23
20
const [ federalState , setFederalState ] = useState ( false )
24
21
window . setFederalState = setFederalState
@@ -71,8 +68,6 @@ function Index() {
71
68
setSelectedMesh = { setSelectedMesh }
72
69
selectedPVSystem = { selectedPVSystem }
73
70
setSelectedPVSystem = { setSelectedPVSystem }
74
- pvPoints = { pvPoints }
75
- setPVPoints = { setPVPoints }
76
71
vegetationGeometries = { vegetationGeometries }
77
72
geoLocation = { location }
78
73
/>
You can’t perform that action at this time.
0 commit comments