Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Dec 5, 2023
1 parent f1706ab commit 7511591
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/Livewire/OhDearBrokenLinksCardComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
use OhDear\OhDearPulse\Livewire\Concerns\RemembersApiCalls;
use OhDear\OhDearPulse\Livewire\Concerns\UsesOhDearApi;
use OhDear\OhDearPulse\OhDearPulse;
use OhDear\PhpSdk\Resources\Check;
use OhDear\PhpSdk\Resources\Site;

#[Lazy]
class OhDearBrokenLinksCardComponent extends Card
{
use UsesOhDearApi;
use RemembersApiCalls;
use UsesOhDearApi;

public int $siteId;

Expand Down Expand Up @@ -43,8 +41,8 @@ public function getBrokenLinks(): ?array
}

return $this->remember(
fn() => $this->ohDear()?->brokenLinks($this->siteId),
'site:' . $this->siteId,
fn () => $this->ohDear()?->brokenLinks($this->siteId),
'site:'.$this->siteId,
);
}
}
1 change: 0 additions & 1 deletion src/OhDearPulseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace OhDear\OhDearPulse;

use Livewire\Livewire;
use Livewire\LivewireManager;
use OhDear\OhDearPulse\Livewire\OhDearBrokenLinksCardComponent;
use OhDear\OhDearPulse\Livewire\OhDearCronPulseCardComponent;
Expand Down

0 comments on commit 7511591

Please sign in to comment.