diff --git a/src/PowerGridComponent.php b/src/PowerGridComponent.php index e72300c4..b6fda408 100644 --- a/src/PowerGridComponent.php +++ b/src/PowerGridComponent.php @@ -188,10 +188,6 @@ private function getTheme(): array { $class = $this->template() ?? powerGridTheme(); - $themeBase = PowerGrid::theme($class); - - return convertObjectsToArray((array) $themeBase->apply()); - return Cache::rememberForever('powerGridTheme_' . $class, function () use ($class) { /** @var ThemeBase $themeBase */ $themeBase = PowerGrid::theme($class);