Ivan Asmer 4 rokov pred
rodič
commit
45f6bc9715
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/App.js

+ 1 - 1
src/App.js

@@ -44,7 +44,7 @@ const EditForm = ({record, models={}, model, options=defaultAdminOptions, Compon
         if (record && record.empty){
             record.then(() => setEdit({...record}))
         }
-    })
+    },[])
 
     if (!record) return <></>