Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

911 B
Raw Blame
import { Button } from '@librechat/client';
import { useNavigate } from 'react-router-dom';
import { useLocalize } from '~/hooks';

export default function NoPromptGroup() {
  const navigate = useNavigate();
  const localize = useLocalize();
  return (
    <div className="relative min-h-full w-full px-4">
      <div className="absolute inset-0 flex items-center justify-center">
        <div className="text-center font-bold text-text-primary">
          <h1 className="text-lg font-bold text-text-primary md:text-2xl">
            {localize('com_ui_prompt_preview_not_shared')}
          </h1>
          <Button
            className="mt-4"
            onClick={() => {
              navigate('/prompts');
            }}
            aria-label={localize('com_ui_back_to_prompts')}
          >
            {localize('com_ui_back_to_prompts')}
          </Button>
        </div>
      </div>
    </div>
  );
}