Skip to content

Commit cba8be3

Browse files
authoredOct 3, 2023
Merge pull request #189 from MeasureAuthoringTool/decouple
Decouple shared.
2 parents 155bab6 + e4d0661 commit cba8be3

File tree

190 files changed

+16386
-33
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+16386
-33
lines changed
 

‎.gitignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,7 @@ react/storybook-static
3737
shared/storybook-static
3838

3939
# post-build files in react dir
40-
react/fonts
41-
react/images
42-
react/styles
40+
react/node_modules
4341

4442
# temporary script to build and deploy chromatic locally w/ project token
4543
shared/deploy-chromatic.sh

‎react/components/DateTimeField/DateTimeField.stories.jsx

+4-5
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ export default {
1010

1111
export const TimeDateFieldComponent = (args) => {
1212
const [value, setValue] = useState("");
13-
const handlDateTimeChange = (e) => {
14-
console.log("Handle change triggered", e.target.value);
15-
setValue(e.target.value);
13+
const handleDateTimeChange = (e) => {
14+
setValue(e.target.value)
1615
};
1716
return (
1817
<div className="qpp-u-padding--16">
1918
<DateTimeField
20-
disabled={true}
19+
// disabled={true}
2120
label="Status Date/Time"
22-
handlDateTimeChange={handlDateTimeChange}
21+
handleDateTimeChange={handleDateTimeChange}
2322
dateTimeValue={value}
2423
/>
2524
</div>

0 commit comments

Comments
 (0)
Please sign in to comment.