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