fix : change browser waiting check

This commit is contained in:
martin legrand committed 2025-04-16 10:08:03 +02:00
1 parent 906dc18060
commit 26421190b1
4 files changed
+11 -13

No files matched your search

+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');