fix(deal-ticket): dont trigger deal ticket submit when clicking margin (#6004)

This commit is contained in:
Matthew Russell 2024-03-14 13:43:22 +00:00 committed by GitHub
parent 49fdd0f68a
commit 0dd58b68cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,7 +27,7 @@ export const KeyValue = ({
</>
);
const valueElement = onClick ? (
<button onClick={onClick} className="font-mono ml-auto">
<button type="button" onClick={onClick} className="font-mono ml-auto">
{displayValue}
</button>
) : (