-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add support for OneGate wallet #161
Conversation
Signed-off-by: Mikhail Petrov <[email protected]>
closes #145 Signed-off-by: Mikhail Petrov <[email protected]>
3b65396
to
dfcff32
Compare
} | ||
} | ||
|
||
const onDisconnectWallet = async () => { | ||
await wcSdk.disconnect(); | ||
if (!dapi) { |
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.
But what about if dapi
? How can we disconnect?
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 is no such method in the documentation, so we just redirect the user to the main page
height={40} | ||
alt="download an object" | ||
/> | ||
{!window.OneGate && ( |
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.
The only thing for OneGate is delete
? Downloads (with appropriate Content-Disposition) get blocked too?
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.
Yes, opening a new tab and downloading is not available
Signed-off-by: Mikhail Petrov [email protected]
closes #145