Skip to content

Commit 4cad9e6

Browse files
committed
fix 250 lines count
1 parent ad232cf commit 4cad9e6

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

website/src/lib/charts/Globe.svelte

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import { interpolate } from 'd3-interpolate';
55
import { feature } from 'topojson-client';
66
import { worldAtlasIdToIso3 } from '../data/worldIso3.js';
7-
import { filters, setSelectedCountry, clearSelectedCountry } from '../stores/filters.js';
7+
import { filters, setSelectedCountry } from '../stores/filters.js';
88
import {
99
closestRotationStart,
1010
easeInOutCubic,
@@ -177,10 +177,6 @@
177177
}
178178
});
179179
180-
$effect(() => {
181-
if (!active) clearSelectedCountry();
182-
});
183-
184180
$effect(() => {
185181
if (active && step === 2 && lastFocusedStep !== 2 && !selectedCountry) focusTopThreeCountries();
186182
lastFocusedStep = step;

0 commit comments

Comments
 (0)