Skip to content

Commit

Permalink
Extension builds again
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed May 10, 2024
1 parent 4ce7b23 commit e2bd246
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension/src/ui/components/SidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ import CopyHistory from '@project/common/app/components/CopyHistory';
import CopyHistoryList from '@project/common/app/components/CopyHistoryList';
import { useAppKeyBinder } from '@project/common/app/hooks/use-app-key-binder';
import { download } from '@project/common/util';
import { MiningContext } from '@project/common/app/services/mining-context';

const mp3WorkerFactory = () =>
new Worker(new URL('../../../../common/audio-clip/mp3-encoder-worker.ts', import.meta.url));
Expand All @@ -59,6 +60,7 @@ const sameVideoTab = (a: VideoTabModel, b: VideoTabModel) => {
};

const emptyArray: VideoTabModel[] = [];
const miningContext = new MiningContext();

export default function SidePanel({ settings, extension }: Props) {
const { t } = useTranslation();
Expand Down Expand Up @@ -506,7 +508,7 @@ export default function SidePanel({ settings, extension }: Props) {
hideSubtitlePlayer={false}
videoPopOut={false}
disableKeyEvents={false}
ankiDialogRequested={false}
miningContext={miningContext}
keyBinder={keyBinder}
ankiDialogOpen={false}
/>
Expand Down

0 comments on commit e2bd246

Please sign in to comment.