Skip to content

Commit

Permalink
fix: run biome check
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Sep 17, 2024
1 parent a59c5d3 commit ad534c3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {
import { CreateForm } from "components/[guild]/RolePlatforms/components/AddRoleRewardModal/components/AddFormPanel"
import AddCard from "components/common/AddCard"
import FormErrorMessage from "components/common/FormErrorMessage"
import Switch from "components/common/Switch"
import { LayoutGroup, Reorder, motion } from "framer-motion"
import { useFieldArray, useFormContext } from "react-hook-form"
import getFieldIndexesToSwap from "utils/getFieldsToSwap"
import FormCardEditable from "./FormCardEditable"
import Switch from "components/common/Switch"

const MotionAddCard = motion(AddCard)

Expand Down Expand Up @@ -89,7 +89,11 @@ const CreateFormForm = () => {
<FormErrorMessage>{errors.fields?.message}</FormErrorMessage>
</Box>
<Divider mt="3" />
<Switch title="Allow editing answers" description="If allowed, members can edit their responses after they've submitted the form" {...register("isEditable")} />
<Switch
title="Allow editing answers"
description="If allowed, members can edit their responses after they've submitted the form"
{...register("isEditable")}
/>
</Stack>
)
}
Expand Down

0 comments on commit ad534c3

Please sign in to comment.