Build a Markdown Previewer - Can't find error


const Previewer = (props) => {  
  return (
    <div class="preview-wrap">
      <div class="preview-title-wrap"> 
        <strong class="title">Previewer</strong>
        <span>
          <svg width="18" height="18" viewBox="0 0 24 24">
              <path fill="#000000" d="M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z" />
          </svg>
        </span>
        {console.log(props.textValue)}
        <div id="preview" dangerouslySetInnerHTML={{_html: props.textValue}}>
        </div>
      </div>
    </div>  
  );  
}


class Editor extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      text: `# Akshay`
    };
    this.handleChange = this.handleChange.bind(this);
  }
  
  handleChange(event){
    this.setState({
        text: event.target.value
    });
  }
  
  render() {
    return (
      <div className="edit-wrap">
        <div class="editor-title-wrap">
          <label for="editor"><strong id="editor-title">Editor</strong></label>
          <span>
            <svg width="18" height="18" viewBox="0 0 24 24">
                <path fill="#000000" d="M9.5,13.09L10.91,14.5L6.41,19H10V21H3V14H5V17.59L9.5,13.09M10.91,9.5L9.5,10.91L5,6.41V10H3V3H10V5H6.41L10.91,9.5M14.5,13.09L19,17.59V14H21V21H14V19H17.59L13.09,14.5L14.5,13.09M13.09,9.5L17.59,5H14V3H21V10H19V6.41L14.5,10.91L13.09,9.5Z" />
            </svg>
          </span>
        </div>
        <textarea onChange={this.handleChange} id="editor" value={this.state.text} rows="15" cols="75">
          # markdown editor test
        </textarea>
        <Previewer textValue={marked(this.state.text)} />
      </div>
    );
  }
}


ReactDOM.render(
  <Editor />,
  document.getElementById('root')
);

-Can’t find the error code is not working. How can I fix it?

dangerouslySetInnerHTML={{_html: props.textValue}}

there should be two underscores before html

Thank you so much …!!!:+1::+1::+1: