forked from vegaprotocol/frontend-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(trading): ensure notional and sizePct are set when setting size a…
…nd price from orderbook
- Loading branch information
Showing
11 changed files
with
252 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,26 @@ | ||
import { useTicketEvents } from './use-ticket-events'; | ||
import { | ||
useDerivativeLimitTicketEvents, | ||
useDerivativeMarketTicketEvents, | ||
useSpotLimitTicketEvents, | ||
useSpotMarketTicketEvents, | ||
} from './use-ticket-events'; | ||
|
||
/** Render the useTicketEvents hook */ | ||
export const TicketEventUpdater = () => { | ||
useTicketEvents(); | ||
export const DerivativeLimitTicketEventUpdater = () => { | ||
useDerivativeLimitTicketEvents(); | ||
return null; | ||
}; | ||
|
||
export const DerivativeMarketTicketEventUpdater = () => { | ||
useDerivativeMarketTicketEvents(); | ||
return null; | ||
}; | ||
|
||
export const SpotLimitTicketEventUpdater = () => { | ||
useSpotLimitTicketEvents(); | ||
return null; | ||
}; | ||
|
||
export const SpotMarketTicketEventUpdater = () => { | ||
useSpotMarketTicketEvents(); | ||
return null; | ||
}; |
Oops, something went wrong.