<commit_before>import React from 'react';
import {NavigationLink} from 'navigation-react';
import {NavigationBackLink} from 'navigation-react';

const nextDirection = {
  North: 'East',
  East: 'South',
  South: 'West',
  West: 'North',
};

export default ({direction, color, stateNavigator}) => {
  const {url, crumbs} = stateNavigator.stateContext;
  return (
    <div style={{backgroundColor: color}}>
      <NavigationLink
        key={`scene${nextDirection[direction]}`}
        stateNavigator={stateNavigator}>
        {direction} {crumbs.length}
      </NavigationLink>
      {stateNavigator.canNavigateBack(1) && <NavigationBackLink
        distance={1}
        stateNavigator={stateNavigator}>
        Back
      </NavigationBackLink>}
    </div>
  );
};
<commit_msg>Corrected prop key<commit_after>import React from 'react';
import {NavigationLink} from 'navigation-react';
import {NavigationBackLink} from 'navigation-react';

const nextDirection = {
  North: 'East',
  East: 'South',
  South: 'West',
  West: 'North',
};

export default ({direction, color, stateNavigator}) => {
  const {url, crumbs} = stateNavigator.stateContext;
  return (
    <div style={{backgroundColor: color}}>
      <NavigationLink
        stateKey={`scene${nextDirection[direction]}`}
        stateNavigator={stateNavigator}>
        {direction} {crumbs.length}
      </NavigationLink>
      {stateNavigator.canNavigateBack(1) && <NavigationBackLink
        distance={1}
        stateNavigator={stateNavigator}>
        Back
      </NavigationBackLink>}
    </div>
  );
};

{'fraction_non_alphanumeric': 0.14084507042253522, 'fraction_numerical': 0.002560819462227913, 'mean_word_length': 3.779816513761468, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '6976770', 'n_tokens_mistral': 464, 'n_tokens_neox': 462, 'n_words': 98}