Shared Folder: Fix limit modal on retry (#3216)
This commit is contained in:
parent
9d4a62e839
commit
d25892caa4
@ -70,10 +70,10 @@ const SettingsShareChatlist: FC<OwnProps & StateProps> = ({
|
||||
}, [isLoading]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!url && folderId) {
|
||||
if (!url && folderId && isActive) {
|
||||
createChatlistInvite({ folderId });
|
||||
}
|
||||
}, [folderId, url]);
|
||||
}, [folderId, isActive, url]);
|
||||
|
||||
const handleRevoke = useCallback(() => {
|
||||
if (!url || !folderId) return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user