-
Notifications
You must be signed in to change notification settings - Fork 90
Conversation
Good bug find but unrelated to the marketplace page. Opened as issue #285 |
Unrelated to this PR. Opened as issue #286 |
my={4} | ||
onClick={e => { | ||
e.preventDefault(); | ||
setLocation(`/collection/${props.address}/token/${props.id}`, { replace: true }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be replace: false
, or else the back button will not go back to marketplace.
network: string; | ||
} | ||
|
||
export default function FeaturedToken(props: FeaturedTokenProps) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a great start. Most of it works with a few minor bugs. (The approval assumes the mentioned bugs will either be fixed here or added to the issue tracker).
<video | ||
loop | ||
onClick={e => e.preventDefault()} | ||
onMouseEnter={e => e.currentTarget.play()} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I like the play on hover
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah some people don't and want the video to play all the time. I tend to prefer the play on hover as well but I might be outvoted here.
Placing a token for sell causes 2 transactions to be approved. I don't know if it is possible to make this one transaction. |
It is, though unrelated to this specific PR, I did mean to fix it in here. Thanks for reminding me. I will open a new issue for tracking and fix in this PR. |
Initial marketplace UI implementation. closes #210