Merge pull request #10 from Permissionless-Software-Foundation/ct-unstable

feat(startup): Loading minimal-slp-wallet lib locally
This commit is contained in:
Chris Troutner
2022-08-19 15:57:38 -07:00
committed by GitHub
3 changed files with 5 additions and 1 deletions
File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

+4 -1
View File
@@ -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
}