diff --git a/package-lock.json b/package-lock.json index b6a0474..b523938 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", - "react-audio-spectrum3": "^0.2.3", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" @@ -14313,15 +14312,6 @@ "node": ">=14" } }, - "node_modules/react-audio-spectrum3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/react-audio-spectrum3/-/react-audio-spectrum3-0.2.3.tgz", - "integrity": "sha512-gySpZ4lhevUN01xn9tOAgOT+aaM8SfZHW6K6/Kq67z0gVAfXPVdAFG1xLBqDH7PthCfBS35r+77cH2mym9IDuQ==", - "peerDependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0" - } - }, "node_modules/react-dev-utils": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.1.tgz", @@ -27837,12 +27827,6 @@ "whatwg-fetch": "^3.6.2" } }, - "react-audio-spectrum3": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/react-audio-spectrum3/-/react-audio-spectrum3-0.2.3.tgz", - "integrity": "sha512-gySpZ4lhevUN01xn9tOAgOT+aaM8SfZHW6K6/Kq67z0gVAfXPVdAFG1xLBqDH7PthCfBS35r+77cH2mym9IDuQ==", - "requires": {} - }, "react-dev-utils": { "version": "12.0.1", "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-12.0.1.tgz", diff --git a/package.json b/package.json index 228837e..34388fc 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,6 @@ "@testing-library/react": "^13.4.0", "@testing-library/user-event": "^13.5.0", "react": "^18.2.0", - "react-audio-spectrum3": "^0.2.3", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" diff --git a/src/App.js b/src/App.js index 6740beb..737d697 100644 --- a/src/App.js +++ b/src/App.js @@ -7,10 +7,6 @@ import { ReactComponent as SpeakerOnIcon } from './SpeakerOnIcon.svg'; import { ReactComponent as SpeakerOffIcon } from './SpeakerOffIcon.svg'; import backgroundMusic from './sounds/backgroundMusic.mp3'; import click from './sounds/click.wav'; -/* import AudioVisualizer from './components/AudioVisualizer'; */ -/* import ReactAudioSpectrum from 'react-audio-spectrum3'; - */ -const musicBackground = new Audio(backgroundMusic); class App extends Component { constructor(props) { @@ -222,6 +218,7 @@ class App extends Component {
{circleComponents}
+ );