Skip to content

Commit 35b91ef

Browse files
Merge pull request #349 from N1ebieski:Fix-Route-not-found-error-in-webphp-when-using-Volt-#28
Fix Route not found error in web.php when using Volt
2 parents d65e67f + 4c7f87f commit 35b91ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/features/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,8 @@ export const diagnosticProvider = (
143143
}
144144

145145
return notFound(
146-
"Route",
146+
// @ts-ignore
147+
item.className === "Livewire\\Volt\\Volt" ? "Component" : "Route",
147148
param.value,
148149
detectedRange(param),
149150
"route",

0 commit comments

Comments
 (0)