Electron working
This commit is contained in:
@@ -5,5 +5,5 @@ import axios from "axios";
|
||||
export const getCountriesAPI = () =>
|
||||
axios.get(`http://fk-server:8080/countries`);
|
||||
|
||||
export const getRegionsAPI = country =>
|
||||
export const getRegionsAPI = (country: string) =>
|
||||
axios.get(`http://fk-server:8080/regions/${country}`);
|
||||
|
||||
Reference in New Issue
Block a user