Spaces:
Paused
Paused
matt HOFFNER
commited on
Commit
·
8277120
1
Parent(s):
d3becdb
fix
Browse files- src/pages/index.js +0 -9
src/pages/index.js
CHANGED
@@ -22,13 +22,4 @@ export default function Home() {
|
|
22 |
</div>
|
23 |
</>
|
24 |
);
|
25 |
-
}
|
26 |
-
|
27 |
-
export async function getStaticProps(context) {
|
28 |
-
// You can access the query parameters of the request with context.query
|
29 |
-
const searchParams = context.query;
|
30 |
-
if (searchParams) {
|
31 |
-
return { props: { searchParams } };
|
32 |
-
}
|
33 |
-
return { props: {} };
|
34 |
}
|
|
|
22 |
</div>
|
23 |
</>
|
24 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
}
|