Skip to content

Commit bbe71bc

Browse files
committed
feat: use the fragment
1 parent 9526db8 commit bbe71bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/pages/account.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ const UserProfileQuery = gql(/* GraphQL */ `
1111
profileCollection(filter: { id: { eq: $profileId } }) {
1212
edges {
1313
node {
14-
id
15-
username
16-
website
14+
...AccountProfileFragment
1715
}
1816
}
1917
}

0 commit comments

Comments
 (0)