ci: add pre-commit hook and fix linting issues (#545)

* style: deactivate PLC0415 only on part that it's ok

+ re-run pre-commit run --all

* ci: add pre-commit hook

* build: move from yarn to pnpm

* build: move from yarn to pnpm

* build: fix node-version

* ci: install pnpm prior node (?)

* build: update deps and pnpm trying to fix vercel build

* feat: docker www corepack

* style: pre-commit

---------

Co-authored-by: Igor Loskutov <igor.loskutoff@gmail.com>
This commit is contained in:
2025-08-14 20:59:54 -06:00
committed by GitHub
parent b9d891d342
commit 1311714451
26 changed files with 13070 additions and 7803 deletions

View File

@@ -10,7 +10,7 @@ import FileUploadButton from "./fileUploadButton";
import useWebRTC from "./useWebRTC";
import useAudioDevice from "./useAudioDevice";
import { Box, Flex, IconButton, Menu, RadioGroup } from "@chakra-ui/react";
import { LuScreenShare, LuMic, LuPlay, LuStopCircle } from "react-icons/lu";
import { LuScreenShare, LuMic, LuPlay, LuCircleStop } from "react-icons/lu";
type RecorderProps = {
transcriptId: string;
@@ -253,7 +253,7 @@ export default function Recorder(props: RecorderProps) {
mr={2}
onClick={handleRecClick}
>
{isRecording ? <LuStopCircle /> : <LuPlay />}
{isRecording ? <LuCircleStop /> : <LuPlay />}
</IconButton>
{!isRecording && (window as any).chrome && (
<IconButton