Remove obsolete function
This commit is contained in:
parent
b4f0c60ea0
commit
e3c30f7b16
@ -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" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user