lighthouse requirements

This commit is contained in:
Ben Phelps 2022-09-26 15:03:02 +03:00
parent 990ae8464e
commit 086bfa310f
9 changed files with 21 additions and 6 deletions

View file

@ -98,7 +98,7 @@ export default function OpenWeatherMap({ options }) {
}
};
if (!requesting && !location) requestLocation();
// if (!requesting && !location) requestLocation();
if (!location) {
return (

View file

@ -81,6 +81,7 @@ export default function Search({ options }) {
focus:ring-theme-500 dark:focus:ring-white/50"
>
<provider.icon className="text-white w-3 h-3" />
<span className="sr-only">{t("search.search")}</span>
</button>
</form>
);

View file

@ -99,7 +99,7 @@ export default function WeatherApi({ options }) {
}
};
if (!requesting && !location) requestLocation();
// if (!requesting && !location) requestLocation();
if (!location) {
return (