-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dapp draft patch1 #4756
Dapp draft patch1 #4756
Conversation
👷 Deploy request for remixproject pending review.Visit the deploys page to approve it
|
@@ -297,7 +297,7 @@ export function UniversalDappUI(props: UdappProps) { | |||
<label> | |||
<b><FormattedMessage id="udapp.balance" />:</b> {instanceBalance} ETH | |||
</label> | |||
{props.exEnvironment === 'injected' && <i className="fas fa-edit btn btn-sm p-0" onClick={() => {props.editInstance(props.instance)}}></i>} | |||
{props.exEnvironment.indexOf('MetaMask') > -1 && <i className="fas fa-edit btn btn-sm p-0" onClick={() => {props.editInstance(props.instance)}}></i>} |
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.
why do you restrict it to metamask?
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.
oh ok i see... but we have to find another solution...
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.
i will look at it.
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.
can you rebase and remove that changes from this PR?
94813a6
to
a928e4d
Compare
Head branch was pushed to by a user without write access
a928e4d
to
57001ac
Compare
merging as the metamask test always fails for external PR, and this isn't linked to that PR. |
Add two more parameters to edit method, so that dapp-draft could auto input the instructions from devdoc.
@ryestew @yann300