Update StartRecording.tsx

This commit is contained in:
Spazzwan authored and GitHub committed 2022-08-09 20:23:50 +10:00
1 parent 28fae6f8db
commit 3ea3fbcd99
1 file changed
+8 -1
@@ -3,11 +3,18 @@ import { Button } from '../../../../commons/Button';
import { TipBox } from '../../../../commons/TipBox';
import { Typography } from '../../../../commons/Typography';
export function PreparationStep({ nextStep, prevStep}: { nextStep: () => void; prevStep: () => void;}) {
export function PreparationStep({
nextStep,
prevStep,
}: {
nextStep: () => void;
prevStep: () => void;
}) {
const { startRecording } = useAutobone();
const start = () => {
nextStep();
prevStep();
startRecording();
};