mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
chore(trace-viewer): add missing uploadedTraceName to the useEffect dependencies (#10294)
Fixes ESLint warning
This commit is contained in:
parent
faf9d901c1
commit
65a9037461
@ -106,7 +106,7 @@ export const Workbench: React.FunctionComponent<{
|
|||||||
setContextEntry(emptyContext);
|
setContextEntry(emptyContext);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
}, [traceURL]);
|
}, [traceURL, uploadedTraceName]);
|
||||||
|
|
||||||
const defaultSnapshotInfo = { viewport: contextEntry.options.viewport || { width: 1280, height: 720 }, url: '' };
|
const defaultSnapshotInfo = { viewport: contextEntry.options.viewport || { width: 1280, height: 720 }, url: '' };
|
||||||
const boundaries = { minimum: contextEntry.startTime, maximum: contextEntry.endTime };
|
const boundaries = { minimum: contextEntry.startTime, maximum: contextEntry.endTime };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user