Skip to content

Commit 46e6964

Browse files
committed
chore: code cleanup
1 parent fbeba56 commit 46e6964

File tree

2 files changed

+3
-36
lines changed

2 files changed

+3
-36
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Open-source GIS Infographic
2-
<div><b>GIS (Geographic Information Systems)</b> technology is a powerful way to understand our world. Thanks to the open source community, the public today has access to excellent analysis tools, and many of them are free!</div><br>
1+
# Open-source Machine Learning Infographic
2+
<div><b>Machine Learning</b> technology is a powerful way to understand our world. Thanks to the open source community, the public today has access to excellent analysis tools, and many of them are free!</div><br>
33
<div>This open source infographic has been updated to make it more user-friendly and we will continue to add new and interesting entries periodically.</div><br>
4-
<a href="https://makepath.github.io/open-source-gis-infographic/"><img src="https://github.com/makepath/open-source-gis-infographic/blob/master/docs/screenshot.jpeg" alt="Open-source GIS Infographic"></a>
4+
<a href="https://makepath.github.io/open-source-machine-learning-infographic/"><img src="https://github.com/makepath/open-source-machine-learning-infographic/blob/master/docs/screenshot.jpeg" alt="Open-source GIS Infographic"></a>

src/features/home/Filters.js

-33
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,10 @@ export class Filters extends Component {
3131

3232
render() {
3333
const { filters } = this.props.store;
34-
// const fileFormat = tools.reduce((acc, curr) => {
35-
// curr.fileFormats.forEach(fileFormat =>
36-
// !acc.includes(fileFormat) ? acc.push(fileFormat) : null,
37-
// );
38-
// return acc;
39-
// }, []);
40-
// console.log(fileFormat);
41-
4234
const languages = tools.reduce((acc, curr) => {
4335
curr.language.forEach(lang => (!acc.includes(lang) ? acc.push(lang) : null));
4436
return acc;
4537
}, []);
46-
// console.log(languages);
4738

4839
return (
4940
<div className="filters">
@@ -74,30 +65,6 @@ export class Filters extends Component {
7465
{language}
7566
</Button>
7667
))}
77-
{/* <Button
78-
className={filters.categories.vector ? 'vector selected' : 'vector'}
79-
onClick={() => this.handleCategoryClick('vector')}
80-
>
81-
Vector
82-
</Button>
83-
<Button
84-
className={filters.categories.raster ? 'raster selected' : 'raster'}
85-
onClick={() => this.handleCategoryClick('raster')}
86-
>
87-
Raster
88-
</Button>
89-
<Button
90-
className={filters.categories.both ? 'both selected' : 'both'}
91-
onClick={() => this.handleCategoryClick('both')}
92-
>
93-
Python
94-
</Button>
95-
<Button
96-
className={filters.categories.other ? 'other selected' : 'other'}
97-
onClick={() => this.handleCategoryClick('other')}
98-
>
99-
JavaScript
100-
</Button> */}
10168
</div>
10269
</div>
10370
);

0 commit comments

Comments
 (0)