This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useRef } from 'react'; | |
import { useRouter } from 'next/router'; | |
export default function SearchComponent() { | |
const searchInputRef = useRef(null); | |
const router = useRouter(); | |
const search = (event) => { | |
event.preventDefault(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Stations": [ | |
{ | |
"Code": "A01", | |
"Name": "Metro Center", | |
"StationTogether1": "C01", | |
"StationTogether2": "", | |
"LineCode1": "RD", | |
"LineCode2": null, | |
"LineCode3": null, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"f5615ba6-a142-440f-ac38-d20d9a05fcc4": { | |
"forceTags": ["force-youtube"], | |
} | |
} |
OlderNewer