Skip to content

Commit

Permalink
Fix useRoute not being exported in main entry
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinhagemeister committed May 8, 2021
1 parent bd8490c commit c1f3f0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/small-poets-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'preact-iso': patch
---

Fix `useRoute` missing in main entry exports
2 changes: 1 addition & 1 deletion packages/preact-iso/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { Router, LocationProvider, useLocation, Route } from './router.js';
export { Router, LocationProvider, useLocation, Route, useRoute } from './router.js';
export { default as lazy, ErrorBoundary } from './lazy.js';
export { default as hydrate } from './hydrate.js';

Expand Down

0 comments on commit c1f3f0e

Please sign in to comment.