Skip to content

Commit

Permalink
type +comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianovide committed Jun 14, 2021
1 parent 9537130 commit 9406aa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ class App extends Component {
const geojson = await localforage.getItem("cachedGeoJson");

if (geojson) {
// populate featuresDict from the geojson stored in the localForge.
this.setState({ geojson });
this.featuresDict = geojson.features.reduce((acc, feature) => {
acc[feature.properties.id] = feature;
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapPage/DisplayPhoto.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class DisplayPhoto extends Component {
{!feature.properties.published && (
<Chip
icon={<WarningIcon />}
label="not published yer !"
label="not published yet !"
color="secondary"
/>
)}
Expand Down

0 comments on commit 9406aa9

Please sign in to comment.