aboutsummaryrefslogtreecommitdiff
path: root/integration/snapshots/react-context-value-func.hmr.debug.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'integration/snapshots/react-context-value-func.hmr.debug.tsx')
-rw-r--r--integration/snapshots/react-context-value-func.hmr.debug.tsx9
1 files changed, 5 insertions, 4 deletions
diff --git a/integration/snapshots/react-context-value-func.hmr.debug.tsx b/integration/snapshots/react-context-value-func.hmr.debug.tsx
index 76d5214d3..d17a8fa88 100644
--- a/integration/snapshots/react-context-value-func.hmr.debug.tsx
+++ b/integration/snapshots/react-context-value-func.hmr.debug.tsx
@@ -2,10 +2,12 @@ import {
__FastRefreshRuntime as FastRefresh
} from "http://localhost:8080/bun:wrap";
import {
-__require as require
+__HMRClient as Bun
} from "http://localhost:8080/bun:wrap";
+Bun.activate(true);
+
import {
-__HMRClient as Bun
+__require as require
} from "http://localhost:8080/bun:wrap";
import {
__FastRefreshModule as FastHMR
@@ -16,9 +18,8 @@ var jsx = require(JSX).jsxDEV;
import * as $bbcd215f from "http://localhost:8080/node_modules/react/index.js";
var { default: React} = require($bbcd215f);
-Bun.activate(true);
-
var hmr = new FastHMR(3514348331, "react-context-value-func.tsx", FastRefresh), exports = hmr.exports;
+
(hmr._load = function() {
const Context = React.createContext({});
const ContextProvider = ({ children }) => {