Skip to content

Commit

Permalink
Merge pull request #107 from rcpch/mid-parental-height-spelling
Browse files Browse the repository at this point in the history
refactors mid-parental height to capitals. adds client version to page
  • Loading branch information
eatyourpeas authored Nov 3, 2024
2 parents fc8a0cf + e923711 commit 655db3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rcpchgrowth-react",
"version": "6.2.1",
"version": "6.2.2",
"private": false,
"license": "MIT",
"repository": {
Expand All @@ -23,7 +23,7 @@
"semantic-ui-css": "2.5.0",
"semantic-ui-react": "3.0.0-beta.2",
"styled-components": "6.1.12",
"@rcpch/digital-growth-charts-react-component-library": "7.2.1"
"@rcpch/digital-growth-charts-react-component-library": "7.2.2"
},
"devDependencies": {
"@eslint/js": "^9.8.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/subcomponents/UtilitiesForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ const UtilitiesForm = (props) => {
fluid={true}
type={"submit"}
>
Calculate Mid-parental Height
Calculate Mid-Parental Height
</Button>
</Form.Field>
{props.midParentalHeightDataPresent && (
<Form.Field>
<Button type="submit" onClick={props.removeMidParentalHeight}>
Remove Mid-parental Height
Remove Mid-Parental Height
</Button>
</Form.Field>
)}
Expand Down
3 changes: 3 additions & 0 deletions src/pages/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import React from "react";
import MeasurementSegment from "../components/MeasurementSegment";
import packageJson from "../../package.json";

const Home = () => {

return (
<div>
<MeasurementSegment />
<small><i>RCPCH digital Growth Charts - Client : v{packageJson.version}, Charts: v{packageJson.dependencies["@rcpch/digital-growth-charts-react-component-library"]}.</i></small>
</div>
);
};
Expand Down

0 comments on commit 655db3f

Please sign in to comment.