Fixed linter error.

pull/7687/head
Akshay Joshi 2024-07-24 13:02:46 +05:30
parent 0511554db9
commit 87ba177ff3
1 changed files with 1 additions and 1 deletions

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]);