diff --git a/pages/FamilyList.tsx b/pages/FamilyList.tsx index 7ffc8e6..63a9af8 100644 --- a/pages/FamilyList.tsx +++ b/pages/FamilyList.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from 'react'; import { Link } from 'react-router-dom'; -import { CondoService } from '../services/api'; +import { CondoService } from '../services/mockDb'; import { Family, Condo, Notice, AppSettings } from '../types'; import { Search, ChevronRight, UserCircle, Building, Bell, AlertTriangle, Hammer, Calendar, Info, Link as LinkIcon, Check } from 'lucide-react'; @@ -100,6 +100,44 @@ export const FamilyList: React.FC = () => { return (
{new Date(notice.date).toLocaleDateString()}
+{notice.content}
+ {notice.link && ( + +{new Date(notice.date).toLocaleDateString()}
-{notice.content}
- {notice.link && ( - -