diff --git a/components/dashboard/src/configurations/detail/ConfigurationDetailGeneral.tsx b/components/dashboard/src/configurations/detail/ConfigurationDetailGeneral.tsx index 4e2d867f53514a..fb6c1ec97dde45 100644 --- a/components/dashboard/src/configurations/detail/ConfigurationDetailGeneral.tsx +++ b/components/dashboard/src/configurations/detail/ConfigurationDetailGeneral.tsx @@ -7,16 +7,16 @@ import { FC } from "react"; import Header from "../../components/Header"; import { useParams } from "react-router"; -import { useProject } from "../../data/projects/project-queries"; import { ConfigurationNameForm } from "./ConfigurationName"; import { ConfigurationDetailPage } from "./ConfigurationDetailPage"; +import { useConfiguration } from "../../data/configurations/configuration-queries"; type PageRouteParams = { id: string; }; const ConfigurationDetailGeneral: FC = () => { const { id } = useParams(); - const configurationQuery = useProject({ id }); + const configurationQuery = useConfiguration(id); return (