Skip to content

Commit 569aca5

Browse files
committed
fix(ios): build fix
1 parent 1e73e47 commit 569aca5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/WeatherPage.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import { globalObservable, navigate, showModal } from '@shared/utils/svelte/ui';
1919
import dayjs from 'dayjs';
2020
import type { FeatureCollection, MultiPolygon } from 'geojson';
21-
import { isCurrentLocation as isCurrentLocationWidget, notifyWidgetsWeatherUpdated, notifyWidgetsWeatherUpdatedForLocation } from 'plugin-widgets';
2221
import PolygonLookup from 'polygon-lookup';
2322
import { onDestroy, onMount } from 'svelte';
2423
import WeatherComponent from '~/components/WeatherComponent.svelte';
@@ -278,6 +277,7 @@
278277
}
279278
280279
if (WIDGETS) {
280+
const { isCurrentLocation: isCurrentLocationWidget, notifyWidgetsWeatherUpdated, notifyWidgetsWeatherUpdatedForLocation } = await import('plugin-widgets');
281281
// Notify widgets that weather data has been updated
282282
try {
283283
if (isCurrentLocationWidget(weatherLocation)) {

0 commit comments

Comments
 (0)