Commit 0b8a866
committed
fix: Update react-router-dom imports to react-router for v7 compatibility
- Fixed import of useSearchParams from react-router-dom to react-router in data-table-server-driven.stories.tsx
- Updated export in data-table-stories.helpers.ts to use react-router instead of react-router-dom
- Fixed import in use-filter-sync.ts to use react-router instead of react-router-dom
- This resolves the build failure caused by missing react-router-dom dependency
- React Router v7 consolidates hooks into the main react-router package1 parent 820d0d6 commit 0b8a866
3 files changed
Lines changed: 4 additions & 7 deletions
File tree
- apps/docs/src/remix-hook-form/data-table
- packages/components/src/ui/utils
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
286 | 285 | | |
287 | 286 | | |
288 | 287 | | |
289 | | - | |
290 | | - | |
| 288 | + | |
291 | 289 | | |
292 | 290 | | |
293 | 291 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
230 | 230 | | |
231 | 231 | | |
232 | 232 | | |
233 | | - | |
234 | | - | |
| 233 | + | |
235 | 234 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments