Skip to content

Commit

Permalink
Remove unused properties from query, type, and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-Vega committed Oct 16, 2024
1 parent e12b7fe commit 1e10db6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
15 changes: 0 additions & 15 deletions src/components/DataSubmissions/DataSubmissionSummary.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ describe("Basic Functionality", () => {
Organization: {
orgID: "",
orgName: "",
status: "Active",
createdAt: "",
updateAt: "",
},
permission: "Can View",
},
Expand All @@ -70,9 +67,6 @@ describe("Basic Functionality", () => {
Organization: {
orgID: "",
orgName: "",
status: "Active",
createdAt: "",
updateAt: "",
},
permission: "Can View",
},
Expand Down Expand Up @@ -124,9 +118,6 @@ describe("Basic Functionality", () => {
Organization: {
orgID: "",
orgName: "",
status: "Active",
createdAt: "",
updateAt: "",
},
permission: "Can View",
},
Expand All @@ -136,9 +127,6 @@ describe("Basic Functionality", () => {
Organization: {
orgID: "",
orgName: "",
status: "Active",
createdAt: "",
updateAt: "",
},
permission: "Can View",
},
Expand All @@ -148,9 +136,6 @@ describe("Basic Functionality", () => {
Organization: {
orgID: "",
orgName: "",
status: "Active",
createdAt: "",
updateAt: "",
},
permission: "Can View",
},
Expand Down
3 changes: 0 additions & 3 deletions src/graphql/getSubmission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ export const query = gql`
Organization {
orgID
orgName
status
createdAt
updateAt
}
permission
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/Submissions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,6 @@ type CollaboratorPermissions = "Can View" | "Can Edit";
type Collaborator = {
collaboratorID: string;
collaboratorName: string;
Organization: OrgInfo;
Organization: Pick<OrgInfo, "orgID" | "orgName">;
permission: CollaboratorPermissions;
};

0 comments on commit 1e10db6

Please sign in to comment.