migrating to react and nextjs

This commit is contained in:
lucas.oskorep
2023-07-10 20:51:10 -04:00
parent a287cccb38
commit aad7babb2c
55 changed files with 29540 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
export type MtaData = {
mtaData: any;
};
export const fetchStationData = async (stations:[string]):Promise<MtaData> => {
const res = await fetch("")
const data = await res.json()
return {
mtaData: data
};
};