File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
[platform]/build-a-backend/server-side-rendering/nextjs
gen2/build-a-backend/server-side-rendering Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ Dynamic rendering is based on a user session extracted from an incoming request.
246
246
247
247
``` jsx
248
248
import { cookies } from ' next/headers' ;
249
- import { getCurrentUser } from ' @ aws-amplify/auth/server' ;
249
+ import { getCurrentUser } from ' aws-amplify/auth/server' ;
250
250
import { runWithAmplifyServerContext } from ' @/utils/amplifyServerUtils' ;
251
251
252
252
// This page always dynamically renders per request
Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ Dynamic rendering is based on a user session extracted from an incoming request.
216
216
217
217
``` jsx
218
218
import { cookies } from ' next/headers' ;
219
- import { getCurrentUser } from ' @ aws-amplify/auth/server' ;
219
+ import { getCurrentUser } from ' aws-amplify/auth/server' ;
220
220
import { runWithAmplifyServerContext } from ' @/utils/amplifyServerUtils' ;
221
221
222
222
// This page always dynamically renders per request
You can’t perform that action at this time.
0 commit comments