Skip to content

Commit

Permalink
Removed Unused Code
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshpw committed Aug 19, 2024
1 parent 2593863 commit f7b83d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
10 changes: 0 additions & 10 deletions src/services/services/dao/hooks/useLiteDAO.ts

This file was deleted.

11 changes: 1 addition & 10 deletions src/services/services/lite/lite-services.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { client, client_v2 } from "../graphql"
import { client } from "../graphql"
import { Community, DAOListItem, DAOXTZTransferDTO, FetchedDAO, FetchedProposal, FetchedProposals } from "../types"
import { GET_DAO_QUERY, GET_PROPOSALS_QUERY, GET_PROPOSAL_QUERY, GET_XTZ_TRANSFERS } from "../dao/queries"
import { LambdaProposal, Proposal } from "../dao/mappers/proposal/types"
Expand Down Expand Up @@ -42,15 +42,6 @@ export const getLiteDAOs = async (network: string) => {
"Content-Type": "application/json"
}
})
// const resp = await fetch(`${REACT_APP_LITE_API_URL}/daos/`, {
// method: "POST",
// body: JSON.stringify({
// network
// }),
// headers: {
// "Content-Type": "application/json"
// }
// })

const daos: Community[] = await resp.json()

Expand Down

0 comments on commit f7b83d7

Please sign in to comment.