Unused Code residing in the directory
This issue is regarding the unused code.
Path: app/index.js
The styles object is not used and still imported in the main index.js file
import React, { Component } from 'react';
import { Provider } from 'react-redux';
import store from './config/store';
import Navigator from './config/routes';\
// STYLESHEET Imported
import { StyleSheet } from 'react-native';
class CarbonFootprint extends Component {
render() {
return (
<Provider store={store}>
<Navigator />
</Provider>
);
}
}
// UNUSED
const styles = StyleSheet.create({
bg: {
backgroundColor: 'white'
}
});
export default CarbonFootprint;