small bugs fixed

This commit is contained in:
2025-07-18 19:28:15 +05:30
parent 1071b80930
commit 46be622851
4 changed files with 52 additions and 23 deletions

View File

@@ -47,10 +47,6 @@ export default function DocumentsPage() {
setSelectedGroupId(null);
}, [selectedPatient]);
const handleSelectGroup = (groupId: number) => {
setSelectedGroupId((prev) => (prev === groupId ? null : groupId));
};
const { data: groups = [] } = useQuery({
queryKey: ["groups", selectedPatient?.id],
enabled: !!selectedPatient,