Skip to content

Commit

Permalink
syntax and import clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocio De Santiago authored and Rocio De Santiago committed Nov 27, 2024
1 parent dbfe512 commit 66aacd8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion services/ui-src/src/components/report/Elements.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { useNavigate, useParams } from "react-router-dom";
import {
Button,
FormLabel,
Expand All @@ -19,7 +20,6 @@ import {
} from "../../types/report";
import { TemplateCardAccordion } from "components/accordions/TemplateCardAccordion";
import arrowLeftIcon from "assets/icons/arrows/icon_arrow_left_blue.png";
import { useNavigate, useParams } from "react-router-dom";

export interface PageElementProps {
element: PageElement;
Expand Down
3 changes: 1 addition & 2 deletions services/ui-src/src/components/report/MeasureTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
Text,
Link,
} from "@chakra-ui/react";
import { useStore } from "utils";
import { MeasureReplacementModal } from "./MeasureReplacementModal";
import {
isMeasureTemplate,
Expand All @@ -19,7 +18,7 @@ import {
} from "../../types/report";
import { PageElementProps } from "./Elements";
import { TableStatusIcon } from "components/tables/TableStatusIcon";
import { reportBasePath } from "utils/other/routing";
import { reportBasePath, useStore } from "utils";

export const MeasureTableElement = (props: PageElementProps) => {
const table = props.element as MeasureTableTemplate;
Expand Down
9 changes: 4 additions & 5 deletions services/ui-src/src/components/report/ReportPageWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { useEffect, useMemo, useState } from "react";
import { useParams, useNavigate } from "react-router-dom";
import { FormProvider, useForm } from "react-hook-form";
import { Box, Button, Divider, Flex, HStack, VStack } from "@chakra-ui/react";
import { useEffect, useMemo, useState } from "react";
import { Page } from "./Page";
import { Sidebar } from "./Sidebar";
import { ReportModal } from "./ReportModal";
import { SubnavBar } from "./SubnavBar";
import { getReport } from "utils/api/requestMethods/report";
import { useStore } from "utils";
import { FormProvider, useForm } from "react-hook-form";
import { FormPageTemplate } from "types/report";
import { getReport, useStore } from "utils";
import { FormPageTemplate } from "types";
import { PraDisclosure } from "./PraDisclosure";

export const ReportPageWrapper = () => {
Expand Down
3 changes: 2 additions & 1 deletion services/ui-src/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// api
export * from "./api/apiLib";
export * from "./api/providers/ApiProvider";
export * from "./api/requestMethods/getTemplateUrl";
export * from "./api/requestMethods/banner";
export * from "./api/requestMethods/getTemplateUrl";
export * from "./api/requestMethods/report";
// auth
export * from "./auth/UserProvider";
export * from "./auth/authLifecycle";
Expand Down

0 comments on commit 66aacd8

Please sign in to comment.