Files
frontend/apps/cs/src/pages/groups/ui/groups-page.tsx
T
2025-06-17 11:06:33 +09:00

19 lines
445 B
TypeScript

"use client";
import { useState } from "react";
import { GroupsSection } from "./groups-section";
import { GroupUsersSection } from "./group-users-section";
function GroupsPage() {
const [selectedGroupId, setSelectedGroupId] = useState("");
return (
<div className="flex">
<GroupsSection handleSelectedGroup={setSelectedGroupId} />
<GroupUsersSection groupId={selectedGroupId} />
</div>
);
}
export { GroupsPage };