migrating to react and nextjs

This commit is contained in:
lucas.oskorep committed 2023-07-10 20:51:10 -04:00
1 parent a287cccb38
commit aad7babb2c
55 files changed
+29540 -9

No files matched your search

+11
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
};
};