-
Notifications
You must be signed in to change notification settings - Fork 8
Conversation
KPrasch
commented
May 5, 2021
- Based on Componentize Management Control Panels and Chart Elements #75
- Styles worker address collection closer to the spec
- Needs follow-up (see Handle invald or misconfigured worker address collection #79)
|
||
class StyledActiveDot extends React.Component { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do this as a class based component?
@@ -23,60 +22,17 @@ function dateToUTCEpoch(d) { | |||
return Number(Math.round(utcMilllisecondsSinceEpoch / 1000)) | |||
} | |||
|
|||
function oneYearAgo() { | |||
function calculatePastEpoch(months_ago) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe functions like this should go in here?
https://github.com/nucypher/nuit/blob/main/packages/react-app/src/services/nucypher.js
Something seems wrong with this PR. What are all these commits? Most of them seem to have nothing to do with styling this one little panel. |
This PR is based over #75, so with that merged it needs a rebase for GH to properly show the history (I'm hoping Microsoft will support automatically resolving it eventually). |
so safe to merge then... ok |