mirror of
https://github.com/Unleash/unleash.git
synced 2024-11-01 19:07:38 +01:00
8 lines
165 B
TypeScript
8 lines
165 B
TypeScript
|
import { useLocation } from 'react-router';
|
||
|
|
||
|
const useQueryParams = () => {
|
||
|
return new URLSearchParams(useLocation().search);
|
||
|
};
|
||
|
|
||
|
export default useQueryParams;
|