* web/packages: upgrade next * fix(api/orders): update master validation logic to handle optional masters * fix(api/notify, api/orders): enhance notification messages and update order state handling for masters * fix react typings * refactor(order-buttons, action-panel): streamline button handlers and add return functionality * fix(contacts, orders): replace empty state messages with DataNotFound component for better user feedback * feat(bot): add share bot command and update environment configuration for BOT_URL * fix: pnpm-lock.yaml * feat(bot): implement add contact wizard scene and enhance contact handling logic * feat(profile): add BookContactButton component to enhance booking functionality * fix(order-buttons): update cancel and confirm button logic based on order state * feat(service-select): share services list for all enhance service card display with duration formatting and improve layout
13 lines
451 B
TypeScript
13 lines
451 B
TypeScript
import { AlertCircleIcon } from 'lucide-react';
|
|
|
|
export function DataNotFound({ title }: { readonly title: string }) {
|
|
return (
|
|
<div className="p-4">
|
|
<div className="line-clamp-1 flex items-center justify-center text-sm font-medium tracking-tight text-secondary-foreground">
|
|
<AlertCircleIcon className="mr-2 size-4" />
|
|
<span className="line-clamp-1 font-medium tracking-tight">{title}</span>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|