From 1958c26d1a3aa8b22b15d4b5519f9cc8edd77a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=82=98=EC=97=B0?= Date: Wed, 9 Oct 2024 15:08:41 +0900 Subject: [PATCH] =?UTF-8?q?style:=20padding=20bottom=20=EC=97=AC=EC=9C=A0?= =?UTF-8?q?=EB=A1=AD=EA=B2=8C=20=EC=A1=B0=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/useRecorder.ts | 4 ++-- src/pages/Record/Record.module.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hooks/useRecorder.ts b/src/hooks/useRecorder.ts index 01015cc..76b2b61 100644 --- a/src/hooks/useRecorder.ts +++ b/src/hooks/useRecorder.ts @@ -29,7 +29,7 @@ export const useRecorder = (onAudioData: (data: string) => void) => { } }; - mediaRecorderRef.current.start(3000); + mediaRecorderRef.current.start(); }; const startRecording = async () => { @@ -43,7 +43,7 @@ export const useRecorder = (onAudioData: (data: string) => void) => { mediaRecorderRef.current.stop(); } initMediaRecorder(stream); - }, 5000); + }, 3000); } catch (error) { console.error('Error accessing the microphone', error); } diff --git a/src/pages/Record/Record.module.scss b/src/pages/Record/Record.module.scss index e1ee133..ef5a1a0 100644 --- a/src/pages/Record/Record.module.scss +++ b/src/pages/Record/Record.module.scss @@ -10,7 +10,7 @@ .captionContainer { display: flex; width: 60%; - padding: 50px; + padding: 50px 50px calc(50px + 7%) 50px; margin-top: 100px; background-color: white; border: none;