Skip to content

Commit be62ae2

Browse files
authored
Fix eslint for resource-selector.tsx (#6668)
1 parent 2687c2b commit be62ae2

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

packages/web/app/src/components/organization/members/resource-selector.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ const ResourceSelector_OrganizationProjectTargetQuery = graphql(`
6666
latestValidSchemaVersion {
6767
id
6868
schemas {
69-
nodes {
70-
... on CompositeSchema {
71-
id
72-
service
69+
edges {
70+
node {
71+
... on CompositeSchema {
72+
id
73+
service
74+
}
7375
}
7476
}
7577
}
@@ -421,8 +423,9 @@ export function ResourceSelector(props: {
421423
if (
422424
organizationProjectTarget.data.organization.project.target?.latestValidSchemaVersion?.schemas
423425
) {
424-
for (const schema of organizationProjectTarget.data.organization.project.target
425-
.latestValidSchemaVersion.schemas.nodes) {
426+
for (const edge of organizationProjectTarget.data.organization.project.target
427+
.latestValidSchemaVersion.schemas.edges) {
428+
const schema = edge.node;
426429
if (
427430
schema.__typename === 'CompositeSchema' &&
428431
schema.service &&

0 commit comments

Comments
 (0)