Skip to content

Commit

Permalink
v1 - with unblurred backgrounds fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
FBalint committed Jul 3, 2024
1 parent df834f1 commit 9100a89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/[guild]/AddRewardButton/SelectRolePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const SelectRolePanel = ({

const goBack = () => {
if (!rewards[selection].autoRewardSetup) methods.reset(defaultValues)
selection === "POLYGON_ID" ? setStep("HOME") : setStep("REWARD_SETUP")
setStep(selection === "POLYGON_ID" ? "HOME" : "REWARD_SETUP")
}

return (
Expand Down
5 changes: 2 additions & 3 deletions src/solutions/AddSolutionsButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ const AddSolutionsButton = () => {

const categoryFormMethods = useForm({ mode: "all" })
const {
field: { ref: _ref, ...categoryField },
field: { ref, ...categoryField },
} = useController({
control: categoryFormMethods.control,
name: "category",
Expand Down Expand Up @@ -370,9 +370,8 @@ const Category = ({
mb={filteredItems.length === 0 ? 2 : 8}
>
{filteredItems.map((item, index) => (
<CardMotionWrapper>
<CardMotionWrapper key={item.title}>
<SolutionCard
key={item.title}
{...item}
onClick={
item.handlerType === "reward"
Expand Down

0 comments on commit 9100a89

Please sign in to comment.