We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b1e4e0 commit 5c2e2fcCopy full SHA for 5c2e2fc
1 file changed
src/popups/ConfirmWebRTC.tsx
@@ -1,5 +1,4 @@
1
import React, { useEffect } from 'react';
2
-import { useTranslation } from 'react-i18next';
3
import ipc from '@/ipc';
4
5
import MarkdownContent from '@/components/MarkdownContent';
@@ -13,9 +12,10 @@ interface ConfirmWebRTCPopupProps {
13
12
userId?: string;
14
}
15
+// eslint-disable-next-line
16
const ConfirmWebRTCPopup: React.FC<ConfirmWebRTCPopupProps> = React.memo(({ id, message, userId }) => {
17
// Hooks
18
- const { t } = useTranslation();
+
19
20
// Handlers
21
const handleYes = () => {
0 commit comments