Commit 167796b
authored
fix(generic): prevent infinite recursion in generic component fallback (#762)
- Adds an explicit check to ensure that the generic component does not attempt to call itself recursively when resolving by mimetype. Now only calls a component function if the resolved component_type is both truthy and not 'generic'.1 parent 4e6e599 commit 167796b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
0 commit comments