Fix tx push unfurl preview

This commit is contained in:
Mononaut committed 2024-03-15 09:35:08 +00:00
1 parent c12e664b9a
commit 31d3566ed5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -179,7 +179,7 @@ export function matchRoute(network: string, path: string): Match {
match.fallbackImg = route.fallbackImg;
// traverse the route tree until we run out of route or tree, or hit a renderable match
while (!route.render && route.routes && parts.length && route.routes[parts[0]]) {
while (route.routes && parts.length && route.routes[parts[0]]) {
route = route.routes[parts[0]];
parts.shift();
if (route.fallbackImg) {