forked from polka_billy/porridger
Fixed details dialog size Added map location setting by click Reorganized hooks and components imports with index.js Removed orphane error indication on homepage
8 lines
169 B
JavaScript
8 lines
169 B
JavaScript
import { stations } from "../assets/metro"
|
|
|
|
function lineByName(name) {
|
|
return Object.keys(stations).find(line => stations[line].has(name))
|
|
}
|
|
|
|
export { lineByName }
|