Skip to content

Commit

Permalink
Lint & format
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Jul 24, 2023
1 parent 171a9ff commit 6daff3e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ This project will be primarily using [airbnb react](https://github.com/airbnb/ja

## sensors.AFRICA Stack

First Header | Second Header
------------- | -------------
[API](https://github.com/CodeForAfricaLabs/sensors.AFRICA-api) | Receives, stores, and processes data received from sensors across the continentent
[Map](https://github.com/CodeForAfrica/sensors.AFRICA-AQ-map-v2) | Visualises the types and locations of all sensors nodes across the continent
[Firmware](https://github.com/CodeForAfrica/sensors.AFRICA-AQ-sensors-software) | Powers all sensors.AFRICA nodes across the continent
| First Header | Second Header |
| ------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [API](https://github.com/CodeForAfricaLabs/sensors.AFRICA-api) | Receives, stores, and processes data received from sensors across the continentent |
| [Map](https://github.com/CodeForAfrica/sensors.AFRICA-AQ-map-v2) | Visualises the types and locations of all sensors nodes across the continent |
| [Firmware](https://github.com/CodeForAfrica/sensors.AFRICA-AQ-sensors-software) | Powers all sensors.AFRICA nodes across the continent |

---

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
"node": "16.18.1",
"yarn": "1.22.19"
}
}
}
1 change: 0 additions & 1 deletion src/components/About/Partners.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ function Partners(props) {
</Grid>
<a
href="https://luftdaten.info/"
s
target="_blank"
rel="noopener noreferrer"
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Favicon.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function Favicon({ color, version }) {
/>
<link
rel="mask-icon"
color={`${hex}`}
color={hex}
href={`/favicons/${color}/safari-pinned-tab.svg?v=${v}`}
key="favicon-mask-icon"
/>
Expand All @@ -79,7 +79,7 @@ function Favicon({ color, version }) {
/>
<meta
property="msapplication-TileColor"
content={`${hex}`}
content={hex}
key="favicon-meta-msapplication-tilecolor"
/>
<meta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ function NeedlePointer({ hidden, measurement }) {
/>
<text
transform="scale(1.2)"
x={`${
x={
-275 * Math.cos(((rotate + 90) * Math.PI) / 180) +
(measurement > 55 ? 5 : -2.5)
}`}
y={`${-275 * Math.sin(((rotate + 90) * Math.PI) / 180)}`}
}
y={-275 * Math.sin(((rotate + 90) * Math.PI) / 180)}
textAnchor={
measurement > 25 && measurement < 55
? "middle"
Expand Down

0 comments on commit 6daff3e

Please sign in to comment.