web: adopt Cache Components, Partial Prefetching and ensureStatic
web / ci (push) Successful in 2m2s
web / ci (push) Successful in 2m2s
This commit is contained in:
70 files changed
+1285
-316
No files matched your search
@@ -3,6 +3,7 @@ import {
|
||||
getPrettyOpeningHoursForFunction,
|
||||
PrettyOpeningHours,
|
||||
} from "@/lib/openinghours";
|
||||
import { getToday } from "@/lib/today";
|
||||
import styles from "./openingHoursSectionBlock.module.scss";
|
||||
import { Fragment } from "react";
|
||||
|
||||
@@ -35,7 +36,7 @@ function OpeningHoursSubsection({
|
||||
}
|
||||
|
||||
export async function OpeningHoursSectionBlock() {
|
||||
const allOpeningHours = await getOpeningHours();
|
||||
const allOpeningHours = await getOpeningHours(await getToday());
|
||||
const subsections = [
|
||||
["glassbaren", "Glassbaren"],
|
||||
["bokcafeen", "Bokcaféen"],
|
||||
|
||||
Reference in new issue
Block a user