mirror of
https://github.com/andwati/dokploy.git
synced 2026-12-01 07:28:45 +00:00
refactor: migrate admin API calls to user router
This commit is contained in:
@@ -200,7 +200,7 @@ const Project = (
|
||||
) => {
|
||||
const [isBulkActionLoading, setIsBulkActionLoading] = useState(false);
|
||||
const { projectId } = props;
|
||||
const { data: auth } = api.auth.get.useQuery();
|
||||
const { data: auth } = api.user.get.useQuery();
|
||||
|
||||
const { data, isLoading, refetch } = api.project.one.useQuery({ projectId });
|
||||
const router = useRouter();
|
||||
|
||||
Reference in New Issue
Block a user