import React from 'react'; import { Button } from './ui/button'; import { Link } from '@tanstack/react-router'; import { useTranslation } from '@i18next-toolkit/react'; import { Card, CardContent, CardFooter, CardHeader } from './ui/card'; export const DefaultError: React.FC = React.memo(() => { const { t } = useTranslation(); return (
{t('Sorry, but something went wrong')}
); }); DefaultError.displayName = 'DefaultError';