Skip to content

Commit

Permalink
compiled warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
denys-holub authored and pashagolub committed Dec 5, 2022
1 parent e6d2c40 commit 2244ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web-gui/src/layout/Dashboard/DbsTable/ModalComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export type IFormInput = {

export const ModalComponent = ({ open, setOpen, handleAlertOpen, data }: Props) => {
const methods = useForm<IFormInput>();
const { handleSubmit, setValue } = methods;
const { handleSubmit } = methods;

const onSubmit: SubmitHandler<IFormInput> = result => {
if (data) {
Expand Down
2 changes: 1 addition & 1 deletion web-gui/src/layout/Dashboard/DbsTable/SelectComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const AutocompleteSslModeComponent = ({
title={title}
renderInput={customInput}
onChange={(_, data) => {
const nextValue = data?.label
const nextValue = data?.label;
field.onChange(nextValue ? nextValue : "");
handleChange(nextValue);
}}
Expand Down

0 comments on commit 2244ae1

Please sign in to comment.