Skip to content

Commit

Permalink
Fix a build warning
Browse files Browse the repository at this point in the history
  • Loading branch information
beverloo committed Apr 15, 2024
1 parent ce668c0 commit e46ae42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/events/[slug]/EventSales.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function EventSales(props: EventSalesProps) {
const kSalesGraphDays = 90;
const kSalesGraphHistoryYears = 3;
const kSalesGraphVariance = 0.005;
const kSalesGraphWaitTimeMs = 10;
const kSalesGraphWaitTimeMs = 1750;
const kSalesTypes = [ 'Friday', 'Saturday', 'Sunday', 'Weekend' ];

const event = await getEventBySlug(props.event);
Expand Down
2 changes: 2 additions & 0 deletions app/api/admin/webhooks/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,5 @@ export const { GET } = createDataTableApi(kWebhookRowModel, kWebhookContext, {
};
},
});

export const dynamic = 'force-dynamic';

0 comments on commit e46ae42

Please sign in to comment.