diff --git a/app/Livewire/Charts/TurnoutAreaChart.php b/app/Livewire/Charts/TurnoutAreaChart.php
index 1f302b0..229b838 100644
--- a/app/Livewire/Charts/TurnoutAreaChart.php
+++ b/app/Livewire/Charts/TurnoutAreaChart.php
@@ -21,6 +21,8 @@ class TurnoutAreaChart extends ChartWidget
protected static ?string $maxHeight = '300px';
+ protected static ?string $pollingInterval = null;
+
public function getHeading(): Htmlable
{
return new HtmlString(view('components.chart-heading', [
diff --git a/app/Livewire/Charts/TurnoutPopulationPyramidChart.php b/app/Livewire/Charts/TurnoutPopulationPyramidChart.php
index f0559e9..5162939 100644
--- a/app/Livewire/Charts/TurnoutPopulationPyramidChart.php
+++ b/app/Livewire/Charts/TurnoutPopulationPyramidChart.php
@@ -29,6 +29,8 @@ class TurnoutPopulationPyramidChart extends ChartWidget
protected static ?string $maxHeight = '300px';
+ protected static ?string $pollingInterval = null;
+
public function getHeading(): Htmlable
{
return new HtmlString(view('components.chart-heading', [
diff --git a/app/Livewire/VoteMonitorStats.php b/app/Livewire/VoteMonitorStats.php
index a2923de..eaf1875 100644
--- a/app/Livewire/VoteMonitorStats.php
+++ b/app/Livewire/VoteMonitorStats.php
@@ -29,7 +29,7 @@ public function stats(): array
#[Computed]
protected function count(): int
{
- return \count($this->stats());
+ return \count($this->stats);
}
public function gridColumns(): string
diff --git a/resources/js/embed.js b/resources/js/embed.js
index d68e668..025353c 100644
--- a/resources/js/embed.js
+++ b/resources/js/embed.js
@@ -9,7 +9,7 @@ export default () => ({
copy() {
const code =
- `` +
+ `` +
`` +
``;