added help link, bumped version

Signed-off-by: ravaga <trueravaga@gmail.com>
This commit is contained in:
ravaga 2024-06-22 17:36:23 +04:00
parent 9de88b0c7f
commit 3913ceb2d7
No known key found for this signature in database
GPG key ID: 995E84818B97A2F0
2 changed files with 12 additions and 8 deletions

View file

@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Zano Companion",
"version": "1.0.4",
"version": "1.0.5",
"description": "A browser extension for Zano wallet app",
"permissions": ["storage"],
"content_security_policy": {

View file

@ -14,6 +14,10 @@ const AppPlug = (props) => {
? [s.plugButton, s.hidden].join(" ")
: s.plugButton;
const openDocs = () => {
window.open("https://docs.zano.org/docs/use/companion", "_blank");
};
return (
<>
{!state.isConnected && (
@ -33,17 +37,17 @@ const AppPlug = (props) => {
<div className={s.plugText}>
Make sure you're running <br />a wallet with RPC enabled
</div>
<button className={btnClasses} onClick={() => setConnectOpened(true)}>
<button
className={btnClasses}
onClick={() => setConnectOpened(true)}
>
Connection Settings
</button>
</div>
<button className={btnClasses}>
<button className={btnClasses} onClick={openDocs}>
<img src={questionIcon} alt="question icon" />
How to run a local wallet?
How to connect to the wallet?
</button>
</div>
</div>