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);
|
||||
}
|
||||
})();
|
||||
}, [traceURL]);
|
||||
}, [traceURL, uploadedTraceName]);
|
||||
|
||||
const defaultSnapshotInfo = { viewport: contextEntry.options.viewport || { width: 1280, height: 720 }, url: '' };
|
||||
const boundaries = { minimum: contextEntry.startTime, maximum: contextEntry.endTime };
|
||||
|
|
|
|||
Loading…
Reference in a new issue