From 683b171c3ffc54957e1f02952938ff010fdcbbe0 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Sat, 23 Apr 2022 03:15:27 -0700 Subject: :camera: --- integration/snapshots/react-context-value-func.hmr.debug.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'integration/snapshots/react-context-value-func.hmr.debug.tsx') 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 }) => { -- cgit v1.2.3