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

4 lines
114 B
JavaScript
Raw Normal View History

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