Created
December 10, 2019 11:19
-
-
Save jackrobertscott/0fb1d97a7e5632fd7e9fe5ae50d73839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as queryString from 'query-string'; | |
const urlParams = queryString.parse(window.location.search); | |
console.log(`The code is: ${urlParams.code}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment