Fix more conflicting dependencies
This commit is contained in:
parent
291395f8d3
commit
3ca903cf4f
11 changed files with 300 additions and 364 deletions
|
|
@ -4,7 +4,7 @@ import dynamic from "next/dynamic";
|
|||
import MicIcon from "@mui/icons-material/Mic";
|
||||
import StopIcon from "@mui/icons-material/Stop";
|
||||
import Button from "@mui/material/Button";
|
||||
import { useTheme } from "@mui/material/styles"; // makeStyles,
|
||||
import { useTheme } from "@mui/styles"; // makeStyles,
|
||||
// import AudioPlayer from "material-ui-audio-player";
|
||||
import { useStopwatch } from "react-timer-hook";
|
||||
import style from "./MicInput.module.css";
|
||||
|
|
@ -104,6 +104,7 @@ const MicInput = (props: any) => {
|
|||
className={isRecording ? style.visible : style.hidden}
|
||||
onStop={onStop}
|
||||
onData={onData}
|
||||
// @ts-ignore
|
||||
strokeColor={theme.palette.primary.main}
|
||||
backgroundColor="white"
|
||||
mimeType="audio/webm"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue