aboutsummaryrefslogtreecommitdiff
path: root/packages/bun-framework-next/appInjector.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bun-framework-next/appInjector.js')
-rw-r--r--packages/bun-framework-next/appInjector.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/bun-framework-next/appInjector.js b/packages/bun-framework-next/appInjector.js
deleted file mode 100644
index e8bf22d21..000000000
--- a/packages/bun-framework-next/appInjector.js
+++ /dev/null
@@ -1,15 +0,0 @@
-export function maybeInjectApp(expr) {
- var app;
- try {
- const path = Bun.routesDir + "/_app";
- app = Bun.resolveSync(path, Bun.cwd + "/");
- } catch (exception) {
- return undefined;
- }
-
- return (
- <>
- <import path={app} />
- </>
- );
-}