Skip to content

Market sell on fail market resets amount to 1. #125

@R-K-H

Description

@R-K-H

Describe the bug
"if i try to market sell on the fail market, it always sets the size to 1, regardless of how many id like to sell"

https://discord.com/channels/1155877543174475859/1178032815221264405/1187456993582137354

Additional context
Likely a bug with the filter / setAmount method's we've created in the app.

https://github.com/Dodecahedr0x/meta-dao-frontend/blob/d412e188845e7665d9e80f276800e6026fff40b0/components/Markets/ConditionalMarketCard.tsx#L35C18-L35C27

const maxOrderAmount = () => {

const amountValidator = (value: number) => {

I think this uses the max value or something or it's not properly updating and passing the value...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions