Ribbit-Network / ribbit-network-dashboard

The web dashboard for the world's largest crowdsourced network of open-source, low-cost, CO2 Gas Detection Sensors.
MIT License
17 stars 16 forks source link

Chores: fix some warnings, upgrade dependencies #88

Closed abesto closed 2 years ago

abesto commented 2 years ago

We had warnings like this in the browser console:

image

This PR fixes those. (The difference is because we're actually writing React props here, where css-properties are encoded as JS object fields that are easier to work with, i.e. cssProperties). This means the links in the top right are now underlined as intended:

image

While I was at it, I went ahead and upgraded all the Python dependencies as well (in the hopes of that getting rid of some more warnings, which it didn't, but oh well). The dash import changes are due to the version upgrade.

I also dropped click and numpy from requirements.txt because ... we're ... not using them at all?