Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 9, 2024
1 parent 979d258 commit 0c1e784
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export type ResultsViewAccordionItem = {
* @param props.goBack - The function to go back to the previous page.
* @param props.queryName - The name of the saved query to display to the user
* @param props.goToBeginning
* @param props.selectedQuery
* @returns The QueryView component.
*/
const ResultsView: React.FC<ResultsViewProps> = ({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";
import React, { useEffect, useState } from "react";
import { FHIR_SERVERS, Mode, USE_CASES, ValueSetItem } from "../../constants";
import { FHIR_SERVERS, USE_CASES, ValueSetItem } from "../../constants";
import CustomizeQuery from "./CustomizeQuery";
import SelectSavedQuery from "./selectQuery/SelectSavedQuery";

Expand Down Expand Up @@ -34,6 +34,10 @@ interface SelectQueryProps {
* @param root0.patientForQuery
* @param root0.resultsQueryResponse
* @param root0.setResultsQueryResponse
* @param root0.selectedQuery
* @param root0.setSelectedQuery
* @param root0.fhirServer
* @param root0.setFhirServer
* @returns - The selectQuery component.
*/
const SelectQuery: React.FC<SelectQueryProps> = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ interface SearchFormProps {
* @param root0.setLoading - The function to set the loading state.
* @param root0.setQueryType - The function to set the query type.
* @param root0.setPatientDiscoveryQueryResponse
* @param root0.fhirServer
* @param root0.setFhirServer
* @returns - The SearchForm component.
*/
const SearchForm: React.FC<SearchFormProps> = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ type SelectSavedQueryProps = {
* @param root0.setSelectedQuery
* @param root0.setShowCustomizedQuery
* @param root0.handleSubmit
* @param root0.fhirServer
* @param root0.setFhirServer
*/
const SelectSavedQuery: React.FC<SelectSavedQueryProps> = ({
goBack,
Expand Down
2 changes: 1 addition & 1 deletion containers/tefca-viewer/src/app/query/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ResultsView from "./components/ResultsView";
import PatientSearchResults from "./components/PatientSearchResults";
import SearchForm from "./components/searchForm/SearchForm";
import SelectQuery from "./components/SelectQuery";
import { FHIR_SERVERS, Mode, USE_CASES, ValueSetItem } from "../constants";
import { FHIR_SERVERS, Mode, USE_CASES } from "../constants";
import LoadingView from "./components/LoadingView";
import { ToastContainer } from "react-toastify";

Expand Down

0 comments on commit 0c1e784

Please sign in to comment.