fix(analytics): remove duplicate onMount causing double API requests on dashboard load (#25935)
This commit is contained in:
1 file changed
-2
@@ -186,8 +186,6 @@
|
|||||||
$: if (typeof localStorage !== 'undefined' && selectedPeriod) {
|
$: if (typeof localStorage !== 'undefined' && selectedPeriod) {
|
||||||
localStorage.setItem('analyticsPeriod', selectedPeriod);
|
localStorage.setItem('analyticsPeriod', selectedPeriod);
|
||||||
}
|
}
|
||||||
|
|
||||||
onMount(loadDashboard);
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Header with title and period selector -->
|
<!-- Header with title and period selector -->
|
||||||
|
|||||||
Reference in new issue
Block a user