<commit_before>import React, { Component } from 'react';
import { AsyncStorage, StyleSheet, View, Image, Text, TextInput, Button } from 'react-native';
import QRCodeScanner from 'react-native-qrcode-scanner';
import Permissions from 'react-native-permissions';

import mainStyles from '../styles/main';

class Login extends Component {
  state = {
    hasCameraPermission: null,
  }

  componentDidMount() {
    this._loadInitialState().done();
  }

  async _loadInitialState() {
    const value = await AsyncStorage.getItem('@SlackCoder:token');<commit_msg>Add bind(this) calls to login component<commit_after>import React, { Component } from 'react';
import { AsyncStorage, StyleSheet, View, Image, Text, TextInput, Button } from 'react-native';
import QRCodeScanner from 'react-native-qrcode-scanner';
import Permissions from 'react-native-permissions';

import mainStyles from '../styles/main';

class Login extends Component {
  constructor(props) {
    super(props);
    this.state = {
      hasCameraPermission: null,
    };
    this._loadInitialState = this._loadInitialState.bind(this);
    this._handleBarCodeRead = this._handleBarCodeRead.bind(this);
  }

  componentDidMount() {
    this._loadInitialState().done();
  }

  async _loadInitialState() {
    const value = await AsyncStorage.getItem('@SlackCoder:token');
{'fraction_non_alphanumeric': 0.12114371708051166, 'fraction_numerical': 0.0, 'mean_word_length': 4.807860262008734, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5884021', 'n_tokens_mistral': 387, 'n_tokens_neox': 382, 'n_words': 94}