Skip to content

Commit

Permalink
fix(ui): type issues
Browse files Browse the repository at this point in the history
  • Loading branch information
skamril committed Sep 10, 2024
1 parent 98baafe commit 48c46dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions webapp/src/components/common/SelectSingle.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import {
FormControl,
InputBaseProps,
InputLabel,
MenuItem,
Select,
SelectChangeEvent,
SelectProps,
SxProps,
Theme,
} from "@mui/material";
import { useTranslation } from "react-i18next";
import { GenericInfo } from "../../common/types";

interface Props extends SelectProps {
interface Props {
name: string;
label?: string;
list: GenericInfo[];
Expand All @@ -23,6 +23,7 @@ interface Props extends SelectProps {
handleChange?: (key: string, value: string | number) => void;
required?: boolean;
disabled?: boolean;
size?: InputBaseProps["size"];
}

function SelectSingle(props: Props) {
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/common/TableForm/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import HT from "handsontable";
import { startCase } from "lodash";
import * as R from "ramda";
import { Box, type SxProps } from "@mui/material";
import type { Theme } from "@mui/system";
import type { Theme } from "@mui/material";
import { useMemo } from "react";
import { DefaultValues } from "react-hook-form";
import type { IdType } from "../../../common/types";
Expand Down

0 comments on commit 48c46dc

Please sign in to comment.