mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-20 04:57:03 +00:00
7 lines
156 B
JavaScript
7 lines
156 B
JavaScript
import { useLocation } from "react-router-dom";
|
|
|
|
export function useShouldShowPtt() {
|
|
const { hash } = useLocation();
|
|
return hash.startsWith("#ptt");
|
|
}
|