Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamCallao committed Mar 13, 2024
1 parent d311e5c commit ba010f3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
44 changes: 0 additions & 44 deletions App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,56 +4,12 @@ import AppNavigator from './src/navigation/AppNavigator';
import { View, Text, FlatList, StyleSheet } from 'react-native';
import useStore from './src/store';


// const joinClientesConNotas = (clientes, notasPendientes) => {
// const clientesConNotas = clientes.map(cliente => {
// const notasDelCliente = notasPendientes.filter(nota => nota.Cuenta.trim() === cliente.Cuenta.trim());
// return {
// ...cliente,
// NotasPendientes: notasDelCliente
// };
// });
// return clientesConNotas;
// };
// const resultado = joinClientesConNotas(Clientes, Notas_pendientes);
// console.log(resultado);
const App = () => {
const clientes = useStore(state => state.clientes);
return (
<MenuProvider>
<AppNavigator />
</MenuProvider>
);
};

const styles = StyleSheet.create({
itemContainer: {
backgroundColor: '#f9f9f9',
padding: 20,
marginVertical: 8,
borderRadius: 5,
shadowColor: "#000",
shadowOffset: {
width: 0,
height: 2,
},
shadowOpacity: 0.25,
shadowRadius: 3.84,
elevation: 5,
},
clienteNombre: {
fontSize: 18,
fontWeight: 'bold',
},
detalle: {
fontSize: 14,
marginTop: 5,
},
notaDetalle: {
fontSize: 12,
marginLeft: 10,
}
});


export default App;
1 change: 0 additions & 1 deletion src/components/NoteItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { theme } from "../../constants";
import BorderBox from "../pieces/BorderBox";

const NoteItem = ({ note, onSelect }) => {
console.log(note);
return (
<BorderBox onPress={() => onSelect(note.name)} style={noteItemstyles.container}>
<View>
Expand Down

0 comments on commit ba010f3

Please sign in to comment.