Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulch07 committed Feb 1, 2025
1 parent 746f9ac commit 43581aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ type UserPg {
workPhoneNumber: PhoneNumber
}

type QueryUserInput {
input QueryUserInput {
id: String!
}

Expand Down
7 changes: 3 additions & 4 deletions src/components/OrgListCard/OrgListCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ export interface InterfaceOrgListCardPropsPG {
* @param props - The properties passed to the component
* @returns JSX.Element representing an organization list card
*/
function OrgListCard(props: InterfaceOrgListCardPropsPG): JSX.Element {
// Destructure data from props
const { avatarURL, addressLine1, name, description, members } = props.data;

function OrgListCard({
data: { avatarURL, addressLine1, name, description, members },
}: InterfaceOrgListCardPropsPG): JSX.Element {
// Query to check if the organization is a sample organization
// const { data } = useQuery(IS_SAMPLE_ORGANIZATION_QUERY, {
// variables: {
Expand Down

0 comments on commit 43581aa

Please sign in to comment.