You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,16 +57,17 @@ A quick and dirty guide on how to setup *next-auth* locally to work on it and te
57
57
npm i
58
58
npm run build
59
59
60
-
3. Link React between the repo and the version installed in your project:
60
+
3. Link your project back to your local copy of next auth:
61
61
62
-
npm link ../your-application/node_modules/react
62
+
cd ../your-application
63
+
npm link ../next-auth
63
64
64
-
*This is an annoying step and not obvious, but is needed because of how React has been written (otherwise React crashes when you try to use the `useSession()` hook in your project).*
65
+
4. Finally link React between the repo and the version installed in your project:
65
66
66
-
4. Finally link your project back to your local copy of next auth:
67
+
cd ../next-auth
68
+
npm link ../your-application/node_modules/react
67
69
68
-
cd ../your-application
69
-
npm link ../next-auth
70
+
*This is an annoying step and not obvious, but is needed because of how React has been written (otherwise React crashes when you try to use the `useSession()` hook in your project).*
0 commit comments