mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-25 02:00:19 -06:00
Fixed linter error.
This commit is contained in:
parent
0511554db9
commit
87ba177ff3
@ -26,7 +26,7 @@ export function InputComponent({ label, serverList, databaseList, schemaList, di
|
|||||||
const [disableSchemaSelection, setDisableSchemaSelection] = useState(selectedDid == null);
|
const [disableSchemaSelection, setDisableSchemaSelection] = useState(selectedDid == null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setSelectedDatabase(selectedDid)
|
setSelectedDatabase(selectedDid);
|
||||||
if (selectedDid) setDisableSchemaSelection(false);
|
if (selectedDid) setDisableSchemaSelection(false);
|
||||||
}, [selectedSid, selectedDid, selectedScid]);
|
}, [selectedSid, selectedDid, selectedScid]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user