Skip to content

Commit e854d7d

Browse files
committed
fix: error in installCommand.php
1 parent 02a8e1a commit e854d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/InstallComponent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function handle()
7272
}
7373
$result = '';
7474
$namespace = 'namespace App\View\Components;';
75-
$view = "\t\t return view('$component2');\n";
75+
$view = "\t\t return view('components.$component2');\n";
7676
foreach($lines as $line) {
7777
if(str_contains($line, 'namespace')) {
7878
$result .= $namespace."\n";

0 commit comments

Comments
 (0)