forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit ccb188a
Update withData.js - support withRouter HOC (vercel#3286)
Add support for using withRouter as HOC with this example.
Passing router context manually fixes this, based on, vercel#2908 (comment) 1 parent 5260736 commit ccb188a
1 file changed
+7
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 | - | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
62 | + | ||
63 | + | ||
58 | 64 |
| |
59 | 65 |
| |
60 | 66 |
| |
|
0 commit comments