mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 14:38:47 +00:00
lighthouse requirements
This commit is contained in:
parent
990ae8464e
commit
086bfa310f
9 changed files with 21 additions and 6 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue