fix text view

This commit is contained in:
Johannes Zillmann 2017-01-28 20:45:04 +01:00
parent 08739c0884
commit 201753a2e0

View File

@ -11,7 +11,7 @@ export default class TextPageView extends React.Component {
return (
<div>
<h2>{ header }</h2>
<textarea rows="45" cols="150" defaultValue={ this.props.page.text }>
<textarea rows="45" cols="150" value={ this.props.page.text }>
</textarea>
</div>
);