fix : change browser waiting check

This commit is contained in:
martin legrand
2025-04-16 10:08:03 +02:00
parent 906dc18060
commit 26421190b1
4 changed files with 11 additions and 13 deletions
+1 -2
View File
@@ -40,8 +40,7 @@ function App() {
const fetchScreenshot = async () => {
try {
const res = await axios.get('http://0.0.0.0:8000/screenshots/updated_screen.png', {
responseType: 'blob',
params: { t: new Date().getTime() }
responseType: 'blob'
});
if (isMounted) {
console.log('Screenshot fetched successfully');