feat : add type tp Button components
This commit is contained in:
@@ -9,6 +9,7 @@ function Button({ children, onClick, extra, active }: ButtonProps) {
|
||||
: ""
|
||||
} ${extra}`}
|
||||
onClick={onClick}
|
||||
type="button"
|
||||
>
|
||||
{children}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user