mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-31 15:48:51 +01:00
* fix: error when updating bookmarks if no query data * feat: localize bookmark dialog, form labels and validation messages, also improve validation * feat: add localization for EmptyPromptPreview component and update translation.json * chore: add missing localizations for static UI text * chore: update AgentPanelContextType and useGetAgentsConfig to support null configurations * refactor: update agent categories to support localization and custom properties, improve related typing * ci: add localization for 'All' category and update tab names in accessibility tests * chore: remove unused AgentCategoryDisplay component and its tests * chore: add localization handling for agent category selector * chore: enhance AgentCard to support localized category labels and add related tests * chore: enhance i18n unused keys detection to include additional source directories and improve handling for agent category keys
12 lines
322 B
TypeScript
12 lines
322 B
TypeScript
import React from 'react';
|
|
import { useLocalize } from '~/hooks';
|
|
|
|
export default function EmptyPromptPreview() {
|
|
const localize = useLocalize();
|
|
|
|
return (
|
|
<div className="h-full w-full content-center text-center font-bold text-text-secondary">
|
|
{localize('com_ui_select_or_create_prompt')}
|
|
</div>
|
|
);
|
|
}
|