Skip to content

The open alternative to Salesforce, designed for AI.

190 B
Raw Blame
'use client';

import { usePathname } from 'next/navigation';

import { stripLocale } from './strip-locale';

export const useUnlocalizedPathname = (): string => stripLocale(usePathname());