aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/react-context-value-func.hmr.debug.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/react-context-value-func.hmr.debug.tsx')
-rw-r--r--test/snapshots/react-context-value-func.hmr.debug.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/snapshots/react-context-value-func.hmr.debug.tsx b/test/snapshots/react-context-value-func.hmr.debug.tsx
index a31263ff9..b781ea7f9 100644
--- a/test/snapshots/react-context-value-func.hmr.debug.tsx
+++ b/test/snapshots/react-context-value-func.hmr.debug.tsx
@@ -22,10 +22,9 @@ var hmr = new FastHMR(4175696745, "react-context-value-func.tsx", FastRefresh),
const ContextProvider = ({ children }) => {
const [cb, setCB] = React.useState(function() {
});
- const foo = true;
return jsx(Context.Provider, {
value: cb,
- children: children(foo)
+ children: children(true)
});
};
const ContextValue = ({}) => jsx(Context.Consumer, {