diff --git a/gatherling/Views/Components/CardLink.php b/gatherling/Views/Components/CardLink.php index 9c872a0f..b092210f 100644 --- a/gatherling/Views/Components/CardLink.php +++ b/gatherling/Views/Components/CardLink.php @@ -10,6 +10,7 @@ class CardLink extends Component public string $imageSrc; public function __construct(public string $cardName) { + parent::__construct('partials/cardLink'); $gathererName = preg_replace('/ /', ']+[', $cardName); $gathererName = str_replace('/', ']+[', $gathererName); $this->gathererLink = 'https://gatherer.wizards.com/Pages/Search/Default.aspx?name=+[' . rawurlencode($gathererName) . ']';