aboutsummaryrefslogtreecommitdiff
path: root/test/snapshots/react-context-value-func.hmr.debug.tsx
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-12 00:40:00 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-12-12 00:40:00 -0800
commit14efd03b48019255f636772eea0ff161e3807815 (patch)
tree409859ae8e944a1d6f673f072e7df6534ad117fb /test/snapshots/react-context-value-func.hmr.debug.tsx
parentd5b11be769d25d8b096f4dd9c853555a52693f93 (diff)
downloadbun-14efd03b48019255f636772eea0ff161e3807815.tar.gz
bun-14efd03b48019255f636772eea0ff161e3807815.tar.zst
bun-14efd03b48019255f636772eea0ff161e3807815.zip
:camera:
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, {