Skip to content

Commit

Permalink
fix: remove disabled on edit button
Browse files Browse the repository at this point in the history
  • Loading branch information
vim-daniel committed Sep 11, 2024
1 parent 7ae5cf8 commit 8cb647e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export const InputField = ({
<Button
size={"sm"}
className="h-7 w-7 p-0 rounded-l-none"
disabled={disabled}
onClick={turnOnEditMode}
>
<Pencil1Icon />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ export function TextareaField<T extends FieldValues = FieldValues>({
size={"sm"}
variant={"ghost"}
className="absolute right-2 top-2 h-7 w-7 p-0"
disabled={field.disabled}
onClick={turnOnEditMode}
>
<Pencil1Icon />
Expand Down

0 comments on commit 8cb647e

Please sign in to comment.