mirror of
https://github.com/outline/outline.git
synced 2026-11-28 00:09:58 +03:00
6 lines
140 B
TypeScript
6 lines
140 B
TypeScript
import { useLocation } from "react-router-dom";
|
|
|
|
export default function useQuery() {
|
|
return new URLSearchParams(useLocation().search);
|
|
}
|