Skip to content

Commit

Permalink
try to solve the odd eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
YunFeng0817 committed Dec 9, 2024
1 parent 32e9577 commit d097388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-extension/src/pages/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export default function Player() {
console.error(err);
});
return () => {
playerRef.current?.pause();
playerRef.current?.getReplayer().pause();

Check failure on line 49 in packages/web-extension/src/pages/Player.tsx

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/web-extension/src/pages/Player.tsx#L49

[@typescript-eslint/no-unsafe-member-access] Unsafe member access .pause on an `any` value.

Check failure on line 49 in packages/web-extension/src/pages/Player.tsx

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/web-extension/src/pages/Player.tsx#L49

[@typescript-eslint/no-unsafe-call] Unsafe call of an `any` typed value.

Check failure on line 49 in packages/web-extension/src/pages/Player.tsx

View workflow job for this annotation

GitHub Actions / ESLint Report Analysis

packages/web-extension/src/pages/Player.tsx#L49

[@typescript-eslint/no-unsafe-call] Unsafe call of an `any` typed value.
};
}, [sessionId]);

Expand Down

0 comments on commit d097388

Please sign in to comment.