<commit_before>import React, { Component } from 'react';
import { withRouter } from 'olymp';
import { createComponent, Container } from 'olymp-fela';
import capitalize from 'lodash/upperFirst';

@withRouter
class Content extends Component {
  render() {
    const {
      pathname,
      children,
      subheader,
      query,
      search,
      dispatch,
      location,
      router,
      editor,
      ...rest
    } = this.props;
    const path = pathname.split('/').filter(p => p);

    return (
      <Container>
        <h1 {...rest}>{children}</h1>
        <p
          contentEditable={!editor || editor.props.readOnly ? undefined : false}
        >
          {subheader || `Startseite ${path.map(p => `/ ${capitalize(p)}`)}`}
        </p>
      </Container>
    );
  }<commit_msg>fix error in header<commit_after>import React, { Component } from 'react';
import { withRouter } from 'olymp';
import { createComponent, Container } from 'olymp-fela';
import capitalize from 'lodash/upperFirst';

@withRouter
class Content extends Component {
  render() {
    const {
      pathname,
      children,
      subheader,
      query,
      search,
      dispatch,
      location,
      router,
      editor,
    } = this.props;
    const path = pathname.split('/').filter(p => p);

    return (
      <Container>
        <h1>{children}</h1>
        <p
          contentEditable={!editor || editor.props.readOnly ? undefined : false}
        >
          {subheader || `Startseite ${path.map(p => `/ ${capitalize(p)}`)}`}
        </p>
      </Container>
    );
  }
{'fraction_non_alphanumeric': 0.14559386973180077, 'fraction_numerical': 0.002554278416347382, 'mean_word_length': 2.2510373443983402, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5433181', 'n_tokens_mistral': 486, 'n_tokens_neox': 474, 'n_words': 111}