Hi I am building next js app where I have folder structure like pages [state_name] [city_name].js
I have added one method inside [city_name].js file,how can I import that method as I tried
import {setState} from '../[state_name]/[city_name]'
but it is giving error saying Module not found: Can't resolve '../[state_name]/[city_name]' Can anyone tell me how can I import this method