Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

URL is not a constructor when submitting through Formik form #28

Open
rrcdr opened this issue Dec 17, 2020 · 0 comments
Open

URL is not a constructor when submitting through Formik form #28

rrcdr opened this issue Dec 17, 2020 · 0 comments

Comments

@rrcdr
Copy link

rrcdr commented Dec 17, 2020

Im getting this error when using a form to call a method. Any ideas?

Warning: An unhandled error was caught from submitForm() TypeError: URL is not a constructor

at new KrakenAPI (KrakenAPI.js:28)
at new KrakenPublic (KrakenPublic.js:11)
at Kraken.time (kraken.js:22)
at onSubmit (OrderForm.js:38)
at Formik.tsx:851
at Formik.tsx:1202
at Formik.tsx:758
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant