aboutsummaryrefslogtreecommitdiff
path: root/test/snippets/react-context-value-func.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'test/snippets/react-context-value-func.tsx')
-rw-r--r--test/snippets/react-context-value-func.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/snippets/react-context-value-func.tsx b/test/snippets/react-context-value-func.tsx
index e7ced1292..800ad428d 100644
--- a/test/snippets/react-context-value-func.tsx
+++ b/test/snippets/react-context-value-func.tsx
@@ -12,7 +12,7 @@ const ContextProvider = ({ children }) => {
const ContextValue = ({}) => (
<Context.Consumer>
- {(foo) => {
+ {foo => {
if (foo) {
return <div>Worked!</div>;
}