Remove obsolete function
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 3s

This commit is contained in:
Râu Cao 2024-01-15 13:00:40 +03:00
parent b4f0c60ea0
commit e3c30f7b16
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -1,13 +1,5 @@
import { Controller } from "@hotwired/stimulus"
function hexToBytes (hex) {
let bytes = []
for (let c = 0; c < hex.length; c += 2) {
bytes.push(parseInt(hex.substr(c, 2), 16))
}
return bytes
}
// Connects to data-controller="settings--nostr-pubkey"
export default class extends Controller {
static targets = [ "noExtension", "setPubkey", "pubkeyBech32Input" ]