docs: fix missing URLSearchParams

This commit is contained in:
Jan De Dobbeleer 2022-01-08 21:24:12 +01:00
parent 400edaae78
commit e9910c4a3e
No known key found for this signature in database
GPG key ID: F6CC273CE5BA9AEE

View file

@ -1,6 +1,7 @@
import React from 'react';
import {useLocation} from "react-router-dom";
import CodeBlock from '@theme/CodeBlock';
import { URLSearchParams } from 'url';
function Auth() {
const search = useLocation().search;