Skip to content

Commit

Permalink
Removed Cycle Ignore Option
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutoshpw committed Oct 23, 2024
1 parent 8b1f9ec commit 0bccb23
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/services/contracts/baseDAO/hooks/useCycleInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ export const useIsProposalButtonDisabled = (daoId: string) => {
const { cycleInfo } = useDAO(daoId)

return useMemo(() => {
if (process.env.REACT_APP_IGNORE_DAO_CYCLE_CHECK && process.env.REACT_APP_IGNORE_DAO_CYCLE_CHECK !== "true") {
return false
}

if (cycleInfo && cycleInfo.type === "voting") {
return true
}
Expand Down

0 comments on commit 0bccb23

Please sign in to comment.