修复ActionIcon可能会被当作表单提交按钮的问题。
This commit is contained in:
		| @@ -18,7 +18,7 @@ export function ActionIcon({ icon, onClick, extendClassName }: ActionIconProps) | ||||
|   ); | ||||
|  | ||||
|   return ( | ||||
|     <button onClick={handleClick} className={cx(styles.action_icon, extendClassName)}> | ||||
|     <button type="button" onClick={handleClick} className={cx(styles.action_icon, extendClassName)}> | ||||
|       <Icon icon={icon} className={styles.icon} /> | ||||
|     </button> | ||||
|   ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user