<commit_before>import React, { Component } from 'react';
import { Navigator, View } from 'react-native';
import Menu from './components/Menu';
import SplashPage from './pages/SplashPage';
import LoginPage from './pages/LoginPage';
import PersonalQuestionsPage from './pages/PersonalQuestionsPage';
import GiftCategoryPage from './pages/GiftCategoryPage';
import GiftResultPage from './pages/GiftResultPage';
import GiftDetailsPage from './pages/GiftDetailsPage';
import FavouritesPage from './pages/FavouritesPage';

export default class App extends React.Component {

  constructor(props) {
    super(props);
  }

  updateScene(route, navigator) {
    const routeId = route.id;
    if (routeId === 'SplashPage') {
      return <SplashPage navigator={navigator} />
    } else if (routeId === 'LoginPage') {
      return <LoginPage navigator={navigator} />
    } else if (routeId === 'PersonalQuestionsPage') {
      page = <PersonalQuestionsPage reset={route.reset} navigator={navigator} />
    } else if (routeId === 'GiftCategoryPage') {
      page = <GiftCategoryPage navigator={navigator} />
    } else if (routeId === 'GiftResultPage') {
      page = <GiftResultPage navigator={navigator} />
    } else if (routeId === 'GiftDetailsPage') {
      return <GiftDetailsPage navigator={navigator} data={route.data} index={route.index} />
    } else if (routeId === 'FavouritesPage') {
      page = <FavouritesPage navigator={navigator} />
    }
    return <Menu page={page} navigator={navigator} />
  }

  render () {
    return (
      <Navigator<commit_msg>remove menu bar from Favourites page<commit_after>import React, { Component } from 'react';
import { Navigator, View } from 'react-native';
import Menu from './components/Menu';
import SplashPage from './pages/SplashPage';
import LoginPage from './pages/LoginPage';
import PersonalQuestionsPage from './pages/PersonalQuestionsPage';
import GiftCategoryPage from './pages/GiftCategoryPage';
import GiftResultPage from './pages/GiftResultPage';
import GiftDetailsPage from './pages/GiftDetailsPage';
import FavouritesPage from './pages/FavouritesPage';

export default class App extends React.Component {

  constructor(props) {
    super(props);
  }

  updateScene(route, navigator) {
    const routeId = route.id;
    if (routeId === 'SplashPage') {
      return <SplashPage navigator={navigator} />
    } else if (routeId === 'LoginPage') {
      return <LoginPage navigator={navigator} />
    } else if (routeId === 'PersonalQuestionsPage') {
      page = <PersonalQuestionsPage reset={route.reset} navigator={navigator} />
    } else if (routeId === 'GiftCategoryPage') {
      page = <GiftCategoryPage navigator={navigator} />
    } else if (routeId === 'GiftResultPage') {
      page = <GiftResultPage navigator={navigator} />
    } else if (routeId === 'GiftDetailsPage') {
      return <GiftDetailsPage navigator={navigator} data={route.data} index={route.index} />
    } else if (routeId === 'FavouritesPage') {
      return <FavouritesPage navigator={navigator} />
    }
    return <Menu page={page} navigator={navigator} />
  }

  render () {
    return (
      <Navigator
{'fraction_non_alphanumeric': 0.13721744667303407, 'fraction_numerical': 0.0, 'mean_word_length': 4.0923824959481365, 'pattern_counts': {'":': 0, '<': 21, '<?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': '5952981', 'n_tokens_mistral': 946, 'n_tokens_neox': 902, 'n_words': 230}