From 7b85ec5a6bb1fdd3f5e9cb759d446530b2141f39 Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Tue, 18 Oct 2022 09:50:35 +0300 Subject: [PATCH] feat(match): access original route object --- src/match.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/match.ts b/src/match.ts index 6113393..87f0f03 100644 --- a/src/match.ts +++ b/src/match.ts @@ -40,6 +40,7 @@ export const hashbang = (rule: SRule) => (url: string) => { if (match) { return { ...route, + route, match, url, };