JSTQL-JS-Transform/output_testing/993hook-inside-logical-expression.js

4 lines
No EOL
114 B
JavaScript

function Component(props) {
const user = graphql`...` |> useFragment(%, props.user) ?? {};
return user.name;
}