Skip to content

Commit

Permalink
Useconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Nov 8, 2023
1 parent e6c0a28 commit 277d949
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<PageRouteParams>();
const configurationQuery = useProject({ id });
const configurationQuery = useConfiguration(id);

return (
<ConfigurationDetailPage configurationQuery={configurationQuery} id={id}>
Expand Down

0 comments on commit 277d949

Please sign in to comment.