Skip to content

Commit

Permalink
Move all function component defination outside of the Gameroom.
Browse files Browse the repository at this point in the history
fix #89
  • Loading branch information
petertheprocess committed Apr 26, 2024
1 parent 1390724 commit b11632f
Show file tree
Hide file tree
Showing 5 changed files with 427 additions and 614 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/WavePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import propTypes from "prop-types";
import { Button } from "./Button";
import "styles/ui/WavePlayer.scss";

const WavePlayer = props => {
export const WavePlayer = props => {
const waveformRef = useRef<HTMLDivElement>(null);
const wavesurfer = useRef<WaveSurfer | null>(null);
const [playbackRate, setPlaybackRate] = useState(1);
Expand Down
Loading

0 comments on commit b11632f

Please sign in to comment.