diff --git a/frontend/stores/useNetworkStore.ts b/frontend/stores/useNetworkStore.ts index 280fb053f..5c8906b64 100644 --- a/frontend/stores/useNetworkStore.ts +++ b/frontend/stores/useNetworkStore.ts @@ -25,7 +25,7 @@ export function useNetworkStore () { /** * Needs to be called once, when the front-end is loading. Unnecessary afterwards. */ - async function loadAvailableNetworks () { + async function loadAvailableNetworks () : Promise { try { const { fetch } = useCustomFetch() const response = await fetch>(API_PATH.AVAILABLE_NETWORKS)