turash/bugulma/frontend/pages/CommunityStoriesPage.tsx
Damir Mukimov 28f06d5787
Some checks failed
CI/CD Pipeline / backend-lint (push) Failing after 31s
CI/CD Pipeline / backend-build (push) Has been skipped
CI/CD Pipeline / frontend-lint (push) Failing after 1m22s
CI/CD Pipeline / frontend-build (push) Has been skipped
CI/CD Pipeline / e2e-test (push) Has been skipped
fix: resolve React Compiler and linting errors
- Fix React Compiler memoization issues in useOrganizationPage.ts
- Replace useCallback with useRef pattern in useKeyboard.ts
- Remove unnecessary dependencies from useMemo hooks
- Fix prettier formatting in api-client.ts and api-config.ts
- Replace any types with proper types in error-handling, http-client, security
- Remove unused imports and variables
- Move ImpactBreakdownChart component outside render in ImpactMetrics.tsx
- Fix setState in effect by using useMemo in HeritageBuildingPage.tsx
- Memoize getHistoryTitle with useCallback in MatchDetailPage and MatchNegotiationPage
- Add i18n for literal strings in community pages and LoginPage
- Fix missing dependencies in DashboardPage and DiscoveryPage
2025-12-25 00:21:47 +01:00

18 lines
509 B
TypeScript

import { useTranslation } from '@/hooks/useI18n';
const CommunityStoriesPage = () => {
const { t } = useTranslation();
return (
<div className="container mx-auto px-4 py-8">
<h1 className="text-3xl font-bold mb-6">{t('community.stories.title')}</h1>
<div className="bg-muted p-8 rounded-lg text-center">
<p className="text-lg text-muted-foreground">
{t('community.stories.description')}
</p>
</div>
</div>
);
};
export default CommunityStoriesPage;