Commit 8fcee031 authored by Théophile BORNON's avatar Théophile BORNON

infinite loop fix

parent cfa98dd0
...@@ -53,7 +53,8 @@ function App() { ...@@ -53,7 +53,8 @@ function App() {
useEffect(() => { useEffect(() => {
setURL({ ...url, url: localStorage.getItem("url") || "" }) setURL({ ...url, url: localStorage.getItem("url") || "" })
}, [url]) // eslint-disable-next-line
}, [])
const save = () => { const save = () => {
let name = prompt("Nom du fichier"); let name = prompt("Nom du fichier");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment