mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 23:05:49 +00:00
fix autonomous open mode
This commit is contained in:
@@ -309,10 +309,10 @@ export const SourceSelector = React.memo(function SourceSelector({
|
||||
|
||||
// In autonomous mode, we might want to start open
|
||||
useEffect(() => {
|
||||
if (isAutonomous && !internalOpen) {
|
||||
if (isAutonomous) {
|
||||
setInternalOpen(true);
|
||||
}
|
||||
}, [isAutonomous, internalOpen]);
|
||||
}, [isAutonomous]);
|
||||
|
||||
const trigger = children ? (
|
||||
React.isValidElement(children) ? (
|
||||
|
||||
Reference in New Issue
Block a user