Skip to content

Commit d216a67

Browse files
authored
Merge pull request #151 from sean1292/testing
Fixed addition of html attributes
2 parents 1d5dcb8 + 02b318d commit d216a67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/bottom/HtmlAttr.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ class HtmlAttr extends Component<HTMLAttrPropsInt, StateInt> {
6767
) => {
6868
// reassigns global variable for use by other listener functions
6969
buttonTypeTemp = event.target.value;
70-
7170
this.setState({
7271
[event.target.id]: buttonTypeTemp
7372
});
@@ -144,7 +143,7 @@ class HtmlAttr extends Component<HTMLAttrPropsInt, StateInt> {
144143
variant="outlined"
145144
id={attr}
146145
onChange={(event: React.ChangeEvent<HTMLInputElement>) =>
147-
this.handleChange
146+
this.handleChange(event)
148147
}
149148
value={this.state[attr]}
150149
/>

0 commit comments

Comments
 (0)