Skip to content

Commit

Permalink
fixed lint(frontend)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 4, 2024
1 parent 5709e9a commit 3664d26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const useStyles = createUseStyles((theme: JSSTheme) => ({

type Props = {
onSuccess?: () => void
setIsConfigEvaluatorModalOpen: (val: string) => void
setIsConfigEvaluatorModalOpen?: (val: string) => void
} & React.ComponentProps<typeof Modal>

const NewEvaluationModal: React.FC<Props> = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type SelectEvaluatorSectionProps = {
evaluators: Evaluator[]
selectedEvalConfigs: string[]
setSelectedEvalConfigs: React.Dispatch<React.SetStateAction<string[]>>
setIsConfigEvaluatorModalOpen: (val: string) => void
setIsConfigEvaluatorModalOpen?: (val: string) => void
} & React.ComponentProps<typeof Collapse>

const SelectEvaluatorSection = ({
Expand Down Expand Up @@ -97,7 +97,7 @@ const SelectEvaluatorSection = ({
size="small"
onClick={(e) => {
e.stopPropagation()
setIsConfigEvaluatorModalOpen("open")
setIsConfigEvaluatorModalOpen?.("open")
}}
>
Create new
Expand Down

0 comments on commit 3664d26

Please sign in to comment.