Skip to content

Commit 01c22b4

Browse files
Merge pull request #608 from preactjs/iso-export
Fix `useRoute` not being exported in main entry
2 parents d3ed935 + 4cf008e commit 01c22b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { Router, LocationProvider, useLocation, Route } from './router.js';
1+
export { Router, LocationProvider, useLocation, Route, useRoute } from './router.js';
22
export { default as lazy, ErrorBoundary } from './lazy.js';
33
export { default as hydrate } from './hydrate.js';
44

0 commit comments

Comments
 (0)