From ed0d13e14dc59ea44a07164b0f8b26858d5339bc Mon Sep 17 00:00:00 2001 From: Dhenain Ambroise Date: Thu, 27 May 2021 00:45:14 +0200 Subject: [PATCH] Misc doc --- src/modules/core/airtable/fetchRawAirtableDataset.preval.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/core/airtable/fetchRawAirtableDataset.preval.ts b/src/modules/core/airtable/fetchRawAirtableDataset.preval.ts index 20bf846b..20665318 100644 --- a/src/modules/core/airtable/fetchRawAirtableDataset.preval.ts +++ b/src/modules/core/airtable/fetchRawAirtableDataset.preval.ts @@ -26,8 +26,7 @@ import preval from 'next-plugin-preval'; * XXX The data are therefore STALE, they're not fetched in real-time. * They won't update (the app won't display up-to-date data until the next deployment, for static pages). * - * @example await import('@/modules/core/airtable/fetchRawAirtableDataset.preval') - * @example const rawAirtableRecordsSets: RawAirtableRecordsSet[] = (await import('@/modules/core/airtable/fetchRawAirtableDataset.preval')) as unknown as RawAirtableRecordsSet[]; + * @example const rawAirtableRecordsSets: RawAirtableRecordsSet[] = await getStaticRawAirtableDataset(); * * @see https://github.com/ricokahler/next-plugin-preval */