import { fetchPageFromSection } from "https://deno.land/x/live@0.3.31/pages.ts";
Fetches a page containing this component.
This is used for creating the canvas. It retrieves or generates a fake page from the database at /_live/sections/<componentName.tsx>
This way we can use the page editor to edit components too
type
(sectionFileName: string, siteId: number) => Promise<PageWithParams>