diff --git a/app/tests/Unit/Console/BuildComponentsTest.php b/app/tests/Unit/Console/BuildComponentsTest.php
index b551972..8961542 100644
--- a/app/tests/Unit/Console/BuildComponentsTest.php
+++ b/app/tests/Unit/Console/BuildComponentsTest.php
@@ -18,10 +18,6 @@ public function it_builds_the_components()
$filesytem->ensureDirectoryExists(resource_path('js/splade'));
$filesytem->put(resource_path('js/splade/.gitignore'), "*\n!.gitignore\n");
- $filesytem->cleanDirectory(resource_path('views/components/splade'));
- $filesytem->ensureDirectoryExists(resource_path('views/components/splade'));
- $filesytem->put(resource_path('views/components/splade/.gitignore'), "*\n!.gitignore\n");
-
$this->assertEquals(0, Artisan::call(BuildComponents::class));
foreach ([
diff --git a/src/View/ComponentSlot.php b/src/View/ComponentSlot.php
index 9eefe9a..818c246 100644
--- a/src/View/ComponentSlot.php
+++ b/src/View/ComponentSlot.php
@@ -35,11 +35,11 @@ public function toVueSlot(): string
private function getTemplateContents(): string
{
- return ''.$this->contents.'';
+ return ''.$this->contents;
}
public function toVueTemplate(): string
{
- return 'hash.'>'.$this->getTemplateContents().'';
+ return 'hash.'>'.$this->getTemplateContents().'';
}
}