mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 21:05:22 +00:00
8 lines
170 B
TypeScript
8 lines
170 B
TypeScript
'use client';
|
|||
|
|||
import { useParams } from "next/navigation";
|
|||
|
|||
export const useDomain = () => {
|
|||
const { domain } = useParams<{ domain: string }>();
|
|||
return domain;
|
|||
}
|