From d0973885855aac7e8ba407c7b36a807090378809 Mon Sep 17 00:00:00 2001 From: yunfeng0817 Date: Mon, 9 Dec 2024 01:33:38 -0800 Subject: [PATCH] try to solve the odd eslint error --- packages/web-extension/src/pages/Player.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-extension/src/pages/Player.tsx b/packages/web-extension/src/pages/Player.tsx index 330c68ef5c..de7ccb5d80 100644 --- a/packages/web-extension/src/pages/Player.tsx +++ b/packages/web-extension/src/pages/Player.tsx @@ -46,7 +46,7 @@ export default function Player() { console.error(err); }); return () => { - playerRef.current?.pause(); + playerRef.current?.getReplayer().pause(); }; }, [sessionId]);