Fixed teams settings.

This commit is contained in:
Mike Cao 2024-06-21 12:49:57 -07:00
parent 9104332623
commit b0c9197f2d
21 changed files with 40 additions and 2 deletions

View file

@ -1,21 +0,0 @@
import DataTable from 'components/common/DataTable';
import { useTeamWebsites } from 'components/hooks';
import TeamWebsitesTable from './TeamWebsitesTable';
export function TeamWebsitesDataTable({
teamId,
allowEdit = false,
}: {
teamId: string;
allowEdit?: boolean;
}) {
const queryResult = useTeamWebsites(teamId);
return (
<DataTable queryResult={queryResult}>
{({ data }) => <TeamWebsitesTable data={data} teamId={teamId} allowEdit={allowEdit} />}
</DataTable>
);
}
export default TeamWebsitesDataTable;