Skeleton loader
This commit is contained in:
1 parent
ed4fa90f75
commit
0cf0c6be76
20 files changed
+458
-286
No files matched your search
@@ -6,6 +6,6 @@ export async function getAllBands() {
|
||||
return await axios.get(BASE_URL)
|
||||
}
|
||||
|
||||
export async function getOneBand(id: number) {
|
||||
return await axios.get(BASE_URL + '/' + id)
|
||||
export async function getBand(bandName: string) {
|
||||
return await axios.get(BASE_URL + '/' + bandName)
|
||||
}
|
||||
@@ -4,4 +4,8 @@ let BASE_URL = "http://localhost:3000/locations"
|
||||
|
||||
export async function getAllLocations() {
|
||||
return await axios.get(BASE_URL)
|
||||
}
|
||||
|
||||
export async function getLocation(locationName: string) {
|
||||
return await axios.get(BASE_URL + "/" + locationName)
|
||||
}
|
||||
Reference in new issue
Block a user