chore: fix weather api
Some checks failed
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Loic Coenen
2025-10-31 15:24:48 +01:00
parent 3f74f4092d
commit a0fb254846

View File

@@ -2,7 +2,7 @@ import { useEffect, type Dispatch } from "react"
import { actions, type Action, type State } from "../state" import { actions, type Action, type State } from "../state"
import type {WeatherData} from "../types/weather"; import type {WeatherData} from "../types/weather";
const weatherApiUrl = `http://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no`; const weatherApiUrl = `https://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no`;
export type UseWeatherApiProps = { export type UseWeatherApiProps = {
dispatch: Dispatch<Action>, dispatch: Dispatch<Action>,