Skip to content

Commit 184475a

Browse files
author
Bart Hazen
committed
Fix version state update.
1 parent 3074057 commit 184475a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/SetupPy/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export default class SetupPy extends React.Component {
159159
defaultValue={this.state.version}
160160
variant="outlined"
161161
onChange={e => {
162-
this.setState({ author: e.target.value || this.defaultValue }, this.updatePythonCode);
162+
this.setState({ version: e.target.value || this.defaultValue }, this.updatePythonCode);
163163
}}
164164
/>
165165
);

0 commit comments

Comments
 (0)