Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 54a1e077

Přidáno uživatelem Dominik Poch před asi 2 roky(ů)

Removed fetchData infinite cycle

Zobrazit rozdíly:

webapp/components/modals/AssignDocumentModal.tsx
46 46

  
47 47
    useEffect(() => {
48 48
        fetchData();
49
    }, [documentsIds, fetchData, redirecting, role]);
49
    }, [documentsIds, redirecting, role]);
50 50

  
51 51
    const handleUpload = async () => {
52 52
        // console.log(documentsIds, selectedUsers);

Také k dispozici: Unified diff