inside my directorysrc\componentes\escritorio\gastosLista.js
the following code gives me error
import {
establecerTextoFiltros, ordenarPorMonto, ordenarPorFecha
} from '../acciones/filtros';
My problem is how can I import the file in Redux with React that is in the directoryfiltros.js
acciones
src\acciones\gastos.js
To access from
'src/componentes/escritorio/fichero.js' a 'src/acciones/filtros.js'
it would be like this:'../../acciones/filtros'
; you have to "up" two levels the first../
takes you to'src/componentes/'
the second'../../'
takes you to'src/'
and from there you enter the corresponding folders.