Fixed linter error.

This commit is contained in:
Akshay Joshi 2024-07-24 13:02:46 +05:30
parent 0511554db9
commit 87ba177ff3

View File

@ -26,7 +26,7 @@ export function InputComponent({ label, serverList, databaseList, schemaList, di
const [disableSchemaSelection, setDisableSchemaSelection] = useState(selectedDid == null);
useEffect(() => {
setSelectedDatabase(selectedDid)
setSelectedDatabase(selectedDid);
if (selectedDid) setDisableSchemaSelection(false);
}, [selectedSid, selectedDid, selectedScid]);