deleted faulty file
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 31s
All checks were successful
Build and Deploy Astro App / build_and_deploy (push) Successful in 31s
This commit is contained in:
parent
38f1e1ca41
commit
58b8d8e18e
1 changed files with 0 additions and 18 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
import { api } from '../../../lib/api';
|
|
||||||
|
|
||||||
const { secret } = Astro.props;
|
|
||||||
|
|
||||||
|
|
||||||
export async function getStaticPaths() {
|
|
||||||
const response = await api.approveNewsletter(secret);
|
|
||||||
|
|
||||||
return response.map(product => ({
|
|
||||||
params: { id: product.id },
|
|
||||||
props: { product }
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<h1>{product.name}</h1>
|
|
||||||
Loading…
Add table
Reference in a new issue