aboutsummaryrefslogtreecommitdiff
path: root/examples/hello-next/bun-framework-next/page-loader.ts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello-next/bun-framework-next/page-loader.ts')
-rw-r--r--examples/hello-next/bun-framework-next/page-loader.ts2
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();
}