mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-02-21 02:55:37 -08:00
docs: fix missing URLSearchParams
This commit is contained in:
parent
400edaae78
commit
e9910c4a3e
|
@ -1,6 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {useLocation} from "react-router-dom";
|
import {useLocation} from "react-router-dom";
|
||||||
import CodeBlock from '@theme/CodeBlock';
|
import CodeBlock from '@theme/CodeBlock';
|
||||||
|
import { URLSearchParams } from 'url';
|
||||||
|
|
||||||
function Auth() {
|
function Auth() {
|
||||||
const search = useLocation().search;
|
const search = useLocation().search;
|
||||||
|
|
Loading…
Reference in a new issue