* refactor customer api * refactor slots api * hooks/customers: use invalidateQueries * refactor services api * optimize hooks queryKey * refactor orders api * typo refactor hooks * fix telegramId type (number) * fix bot with new api * rename customers masters & clients query * fix useClientsQuery & useMastersQuery query * new line after 'use client' & 'use server' directives
15 lines
376 B
TypeScript
15 lines
376 B
TypeScript
'use client';
|
|
|
|
import { BackButton } from './components/back-button';
|
|
|
|
type Props = { title: string | undefined };
|
|
|
|
export function PageHeader(props: Readonly<Props>) {
|
|
return (
|
|
<div className="sticky top-0 z-50 flex h-12 items-center rounded-b-lg bg-transparent px-2 font-bold tracking-wide backdrop-blur-md">
|
|
<BackButton />
|
|
{props.title}
|
|
</div>
|
|
);
|
|
}
|