We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd4bed6 + 625a82c commit db1edb5Copy full SHA for db1edb5
src/fragments/start/getting-started/next/api.mdx
@@ -373,8 +373,8 @@ import styles from '../../styles/Home.module.css';
373
374
Amplify.configure({ ...awsExports, ssr: true });
375
376
-export async function getServerSideProps({req, params}) {
377
- const SSR = withSSRContext({req});
+export async function getServerSideProps({ req, params }) {
+ const SSR = withSSRContext({ req });
378
const { data } = await SSR.API.graphql({
379
query: getPost,
380
variables: {
0 commit comments