Skip to content

Commit

Permalink
chore(merge): fixed merge issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilhelm committed Oct 12, 2023
1 parent 164e837 commit 0456139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 83 deletions.
81 changes: 0 additions & 81 deletions src/hooks/useAnalogueModels.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/pages/ModelPages/Model/Model.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import { AnalogueModelsService } from '../../../api/generated';
export const Model = () => {
const { id } = useParams<{ id: string }>();

const { data } = useQuery({
const { data, isLoading } = useQuery({
queryKey: ['analogue-models', id],
queryFn: () => AnalogueModelsService.getApiAnalogueModels1(id as string),
});

if (model.isLoading) <p>Loading.....</p>;
if (isLoading) <p>Loading.....</p>;

return (
<>
Expand Down

0 comments on commit 0456139

Please sign in to comment.