re-arrange code

This commit is contained in:
Jose B
2023-07-18 17:36:30 -05:00
parent 6c8caaab09
commit 68899bd9bf
4 changed files with 31 additions and 48 deletions

View File

@@ -56,10 +56,7 @@ function AudioVisualizer(props) {
}, []);
return (
<>
<p>Is recording: {props.isRecording ? "true" : "false"}</p>
<canvas className="w-full h-16" ref={canvasRef} />
</>
<canvas className="w-full h-16" ref={canvasRef} />
);
}