diff --git a/packages/design-system-component-library-yeahyeahyeah/components/button/CommentButton.tsx b/packages/design-system-component-library-yeahyeahyeah/components/button/CommentButton.tsx index 3f0269d..f8e334c 100644 --- a/packages/design-system-component-library-yeahyeahyeah/components/button/CommentButton.tsx +++ b/packages/design-system-component-library-yeahyeahyeah/components/button/CommentButton.tsx @@ -69,7 +69,7 @@ interface IInteractionSvgStyles { $count?: number; } -const StyledCommentButton = styled.button(({ $count }: IInteractionButtonStyles) => [ +const StyledCommentButton = styled.a(({ $count }: IInteractionButtonStyles) => [ tw` font-semibold leading-normal diff --git a/packages/design-system-component-library-yeahyeahyeah/components/form/InputForm.tsx b/packages/design-system-component-library-yeahyeahyeah/components/form/InputForm.tsx index 1e9960e..21ee740 100644 --- a/packages/design-system-component-library-yeahyeahyeah/components/form/InputForm.tsx +++ b/packages/design-system-component-library-yeahyeahyeah/components/form/InputForm.tsx @@ -1,4 +1,4 @@ -import React, { useState } from 'react'; +import React, { useId, useState } from 'react'; import tw, { styled } from 'twin.macro'; import { Eye, Cancel } from '../icon/index'; @@ -30,6 +30,7 @@ export const InputForm: React.FC = ({ onPressEnter, }) => { const [buttonType, setbuttonType] = useState(type); + const id = useId(); const handleChange = (e: React.ChangeEvent) => { setInputValue && setInputValue(e.target.value); @@ -54,11 +55,11 @@ export const InputForm: React.FC = ({ return ( <> {editType === 'input' ? ( - + {label} = ({ {errorMessage} ) : ( - + {label}