diff options
Diffstat (limited to 'test/snippets/react-context-value-func.tsx')
-rw-r--r-- | test/snippets/react-context-value-func.tsx | 2 |
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>; } |