mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-05-01 04:54:20 +02:00
7 lines
192 B
TypeScript
7 lines
192 B
TypeScript
import { useParams } from 'react-router-dom';
|
|
|
|
export function useActiveRequestId(): string | null {
|
|
const { requestId } = useParams<{ requestId?: string }>();
|
|
return requestId ?? null;
|
|
}
|