diff --git a/.gitignore b/.gitignore index 39c28c4..2882fb7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ build/** dist/** .next/** docker/zammad/auto_install/** +.npmrc diff --git a/apps/metamigo-frontend/components/voice/voicelines/MicInput.tsx b/apps/metamigo-frontend/components/voice/voicelines/MicInput.tsx index 9fbd561..43cae6e 100644 --- a/apps/metamigo-frontend/components/voice/voicelines/MicInput.tsx +++ b/apps/metamigo-frontend/components/voice/voicelines/MicInput.tsx @@ -8,11 +8,11 @@ import { makeStyles, useTheme } from "@material-ui/core/styles"; import AudioPlayer from "material-ui-audio-player"; import { useStopwatch } from "react-timer-hook"; import style from "./MicInput.module.css"; -import type { ReactMicProps } from "react-mic"; +//import type { ReactMicProps } from "react-mic"; const ReactMic = dynamic( // eslint-disable-next-line promise/prefer-await-to-then - () => import("react-mic").then((mod) => mod.ReactMic), + () => { throw new Error("MIC INPUT FEATURE IS DISABLED"); /*return import("react-mic").then((mod) => mod.ReactMic);*/ } , { ssr: false } ); diff --git a/apps/metamigo-frontend/package.json b/apps/metamigo-frontend/package.json index e13e937..bf71e84 100644 --- a/apps/metamigo-frontend/package.json +++ b/apps/metamigo-frontend/package.json @@ -6,26 +6,25 @@ "@apollo/client": "^3.7.4", "@hapi/boom": "^10.0.0", "@hapi/wreck": "^18.0.0", - "@mui/icons-material": "^5.11.0", - "@mui/material": "^5.11.4", - "@mui/styles": "^5.11.2", + "@mui/icons-material": "^5", + "@mui/material": "^5", + "@mui/styles": "^5", "@twilio/voice-sdk": "^2.2.0", "http-proxy-middleware": "^2.0.6", "jsonwebtoken": "^9.0.0", "jwks-rsa": "^3.0.1", "material-ui-audio-player": "^1.7.1", - "next": "13.1.2", + "next": "12.3.4", "next-auth": "4.18.8", "ra-data-graphql": "^4.6.0", "ra-i18n-polyglot": "^4.7.0", "ra-input-rich-text": "^4.7.1", "ra-language-english": "^4.7.0", "ra-postgraphile": "^6.1.0", - "react": "^18", + "react": "^17", "react-admin": "^4.7.1", "react-digit-input": "^2.1.0", - "react-dom": "^18", - "react-mic": "^12.4.6", + "react-dom": "^17", "react-qr-code": "^2.0.11", "react-timer-hook": "^3.0.5", "swr": "^2.0.0" @@ -44,7 +43,7 @@ "devDependencies": { "@next/eslint-plugin-next": "^13.1.2", "@types/hapi__wreck": "17.0.1", - "@types/react": "^18", + "@types/react": "^17", "@types/react-mic": "12.4.3", "typescript": "^4.9.4" }