diff options
author | 2021-08-31 15:03:40 -0700 | |
---|---|---|
committer | 2021-08-31 15:03:40 -0700 | |
commit | 6a5f34a6bc0546a8f17b8fc0af7688a831a797ad (patch) | |
tree | 8ed040425ccac8a7e4b04a9f12c2d1174b4cb5b5 /examples/hello-next/bun-framework-next/page-loader.ts | |
parent | bd9f137b1bfb5bc3b215515ff9305e70a638daf9 (diff) | |
download | bun-6a5f34a6bc0546a8f17b8fc0af7688a831a797ad.tar.gz bun-6a5f34a6bc0546a8f17b8fc0af7688a831a797ad.tar.zst bun-6a5f34a6bc0546a8f17b8fc0af7688a831a797ad.zip |
Fallback, fragments, printer compat, better errors
Former-commit-id: 486e8c9d460eeebea024e96dbabcb7f2bfaffafb
Diffstat (limited to 'examples/hello-next/bun-framework-next/page-loader.ts')
-rw-r--r-- | examples/hello-next/bun-framework-next/page-loader.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello-next/bun-framework-next/page-loader.ts b/examples/hello-next/bun-framework-next/page-loader.ts index 03ee3e5ed..98e132a5f 100644 --- a/examples/hello-next/bun-framework-next/page-loader.ts +++ b/examples/hello-next/bun-framework-next/page-loader.ts @@ -2,7 +2,7 @@ import NextPageLoader from "next/dist/client/page-loader"; import getAssetPathFromRoute from "next/dist/shared/lib/router/utils/get-asset-path-from-route"; // import createRouteLoader from "./route-loader"; -function insertStyleSheet(url: string) { +export function insertStyleSheet(url: string) { if (document.querySelector(`link[href="${url}"]`)) { return Promise.resolve(); } |