mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex-taker-v2.git
synced 2026-09-21 16:52:01 -07:00
feat(startup): Loading minimal-slp-wallet lib locally
This commit is contained in:
Vendored
+1
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
@@ -5,7 +5,10 @@
|
||||
import useScript from '../hooks/use-script'
|
||||
|
||||
function LoadScripts () {
|
||||
useScript('https://unpkg.com/minimal-slp-wallet')
|
||||
// useScript('https://unpkg.com/minimal-slp-wallet')
|
||||
|
||||
// Load the libraries from the local directory.
|
||||
useScript(`${process.env.PUBLIC_URL}/minimal-slp-wallet.min.js`)
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user