perf(web-extension): conditional check (#1360)
Co-authored-by: Yun Feng <yun.feng0817@gmail.com>
This commit is contained in:
5
.changeset/tidy-swans-repair.md
Normal file
5
.changeset/tidy-swans-repair.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@rrweb/web-extension': patch
|
||||
---
|
||||
|
||||
🎈 perf(web-extension): conditional check in Player component
|
||||
@@ -27,7 +27,7 @@ export default function Player() {
|
||||
});
|
||||
getEvents(sessionId)
|
||||
.then((events) => {
|
||||
if (!playerElRef.current || !sessionId) return;
|
||||
if (!playerElRef.current) return;
|
||||
|
||||
const linkEl = document.createElement('link');
|
||||
linkEl.href =
|
||||
|
||||
Reference in New Issue
Block a user