-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Region Page Shipment Totals & Formatting #65
Region Page Shipment Totals & Formatting #65
Conversation
Changes to your CodeSee Architecture Map:View this PR diagram as an interactive map View more CodeSee Maps Legend |
@@ -41,6 +53,25 @@ const RegionPageTemplate: FunctionComponent<Props> = ({ data }) => { | |||
[], | |||
) | |||
|
|||
const totals: Totals = allShipments.reduce( |
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.
Future: Would be good to refactor this into a utility function so we can consistently calculate totals across multiple shipments anywhere in the codebase.
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.
Well put, thanks for the feedback!
Latest recording: |
Related to #24, was originally PR #26, which we've rebased to avoid conflicts
Progress: