Skip to content

Commit

Permalink
enable setting logic for POAP general reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
dovalid committed Mar 5, 2023
1 parent 573e955 commit 6a5d12e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Button, Flex, Heading, Stack } from "@chakra-ui/react"
import CardMotionWrapper from "components/common/CardMotionWrapper"
import AddRequirement from "components/create-guild/Requirements/components/AddRequirement"
import LogicPicker from "components/create-guild/Requirements/components/LogicPicker"
import RequirementEditableCard from "components/create-guild/Requirements/components/RequirementEditableCard"
import useGuild from "components/[guild]/hooks/useGuild"
import LogicDivider from "components/[guild]/LogicDivider"
Expand Down Expand Up @@ -132,7 +133,7 @@ const PoapRequirements = ({ guildPoap }): JSX.Element => {
removeRequirement={remove}
updateRequirement={update}
/>
<LogicDivider logic="AND" />
<LogicPicker />
</CardMotionWrapper>
)
})}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ const useUpdatePoapRequirements = (
...rest,
onSubmit: (data) => {
data.requirements = preprocessRequirements(data?.requirements)
data.logic = "AND"
return onSubmit(data)
},
}
Expand Down

0 comments on commit 6a5d12e

Please sign in to comment.