Commit f05c195
Kavita Chaudhry
Fix Private Route
Without WithRouter and location, when you redirect after authentication if a route has a params in the path, it won't redirect correctly (a route like this identity/:id/ ...) won't work1 parent 56555b3 commit f05c195
4 files changed
Lines changed: 13485 additions & 16 deletions
File tree
- 01-Login
- src/components
- 02-Calling-an-API/src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
0 commit comments