rm htm dep

This commit is contained in:
Martti Malmi 2023-08-17 13:05:21 +03:00
parent f2f4a88c64
commit 14cacc60ac
3 changed files with 12 additions and 25 deletions

View File

@ -25,7 +25,6 @@
"dexie": "^3.2.4", "dexie": "^3.2.4",
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"history": "5.3.0", "history": "5.3.0",
"htm": "^3.1.1",
"identicon.js": "^2.3.3", "identicon.js": "^2.3.3",
"light-bolt11-decoder": "^3.0.0", "light-bolt11-decoder": "^3.0.0",
"localforage": "^1.10.0", "localforage": "^1.10.0",
@ -34,7 +33,6 @@
"nostr-tools": "^1.14.0", "nostr-tools": "^1.14.0",
"preact": "^10.17.0", "preact": "^10.17.0",
"preact-router": "^4.1.2", "preact-router": "^4.1.2",
"preact-scroll-viewport": "^0.2.0",
"react-helmet": "^6.1.0", "react-helmet": "^6.1.0",
"react-string-replace": "^1.1.1" "react-string-replace": "^1.1.1"
}, },

View File

@ -1,4 +1,3 @@
import { html } from 'htm/preact';
import { nip19 } from 'nostr-tools'; import { nip19 } from 'nostr-tools';
import { route } from 'preact-router'; import { route } from 'preact-router';
@ -78,18 +77,18 @@ export default class Account extends Component {
{t('switch_account')} {t('switch_account')}
</button> </button>
</div> </div>
{this.state.showSwitchAccount {this.state.showSwitchAccount && (
? html` <>
<p> <p>
<${ExistingAccountLogin} /> <ExistingAccountLogin />
</p> </p>
<p> <p>
<a href="" onClick=${(e) => this.onExtensionLoginClick(e)}> <a href="#" onClick={(e) => this.onExtensionLoginClick(e)}>
${t('nostr_extension_login')} {t('nostr_extension_login')}
</a> </a>
</p> </p>
` </>
: ''} )}
<h3>{t('public_key')}</h3> <h3>{t('public_key')}</h3>
<p> <p>

View File

@ -2983,11 +2983,6 @@ history@5.3.0:
dependencies: dependencies:
"@babel/runtime" "^7.7.6" "@babel/runtime" "^7.7.6"
htm@^3.1.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/htm/-/htm-3.1.1.tgz#49266582be0dc66ed2235d5ea892307cc0c24b78"
integrity sha512-983Vyg8NwUE7JkZ6NmOqpCZ+sh1bKv2iYTlUkzlWmA5JD2acKoxd4KVxbMmxX/85mtfdnDmTFoNKcg5DGAvxNQ==
human-signals@^2.1.0: human-signals@^2.1.0:
version "2.1.0" version "2.1.0"
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0"
@ -3907,11 +3902,6 @@ preact-router@^4.1.2:
resolved "https://registry.yarnpkg.com/preact-router/-/preact-router-4.1.2.tgz#f44b03737b670eeaec958563582eb8c4efaa87a5" resolved "https://registry.yarnpkg.com/preact-router/-/preact-router-4.1.2.tgz#f44b03737b670eeaec958563582eb8c4efaa87a5"
integrity sha512-uICUaUFYh+XQ+6vZtQn1q+X6rSqwq+zorWOCLWPF5FAsQh3EJ+RsDQ9Ee+fjk545YWQHfUxhrBAaemfxEnMOUg== integrity sha512-uICUaUFYh+XQ+6vZtQn1q+X6rSqwq+zorWOCLWPF5FAsQh3EJ+RsDQ9Ee+fjk545YWQHfUxhrBAaemfxEnMOUg==
preact-scroll-viewport@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preact-scroll-viewport/-/preact-scroll-viewport-0.2.0.tgz#7c5c86dd9cb02c6b23d6b37834c08620a63068dc"
integrity sha512-M9es49lPGg7BhDwUDQMPUhGqo8Z+eQ3FeIRZ20/QFNdDqryu7J2kDddJxZk0vmYLbHwv/LbKd2ssiCwVwUXEQg==
preact@^10.17.0: preact@^10.17.0:
version "10.17.0" version "10.17.0"
resolved "https://registry.yarnpkg.com/preact/-/preact-10.17.0.tgz#77c0e3402767c999ac0f1ba39bd43cd85beab06b" resolved "https://registry.yarnpkg.com/preact/-/preact-10.17.0.tgz#77c0e3402767c999ac0f1ba39bd43cd85beab06b"