diff options
Diffstat (limited to 'src/components/Question.tsx')
-rw-r--r-- | src/components/Question.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Question.tsx b/src/components/Question.tsx index 3b63f07..ebacb4a 100644 --- a/src/components/Question.tsx +++ b/src/components/Question.tsx @@ -47,8 +47,8 @@ class RenderedQuestion extends React.Component<QuestionProp> { } setPublicState(target: string, value: string | boolean | null, callback?:() => void): void { - this.setState({[target]: value}, callback); this.props.public_state.set(target, value); + this.setState({[target]: value}, callback); } // This is here to allow dynamic selection between the general handler, textarea, and code field handlers. |