fix: force dynamic
This commit is contained in:
parent
efb676a8b0
commit
46b46c77c9
1 changed files with 2 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ import { fetchLastMagazine } from '@/fetch/magazine'
|
||||||
import { Button } from '@/components/Button/Button'
|
import { Button } from '@/components/Button/Button'
|
||||||
import { P } from '@/components/Text/Paragraph'
|
import { P } from '@/components/Text/Paragraph'
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
|
|
||||||
export default async function MagazinePage() {
|
export default async function MagazinePage() {
|
||||||
const magazine = await fetchLastMagazine();
|
const magazine = await fetchLastMagazine();
|
||||||
const magazine_url = magazine && typeof magazine.document === "object" ? magazine.document.url || undefined : undefined;
|
const magazine_url = magazine && typeof magazine.document === "object" ? magazine.document.url || undefined : undefined;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue