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