mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
lighthouse requirements
This commit is contained in:
@@ -98,7 +98,7 @@ export default function OpenWeatherMap({ options }) {
|
||||
}
|
||||
};
|
||||
|
||||
if (!requesting && !location) requestLocation();
|
||||
// if (!requesting && !location) requestLocation();
|
||||
|
||||
if (!location) {
|
||||
return (
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -99,7 +99,7 @@ export default function WeatherApi({ options }) {
|
||||
}
|
||||
};
|
||||
|
||||
if (!requesting && !location) requestLocation();
|
||||
// if (!requesting && !location) requestLocation();
|
||||
|
||||
if (!location) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user