mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-21 09:31:20 -08:00
Update StartRecording.tsx
This commit is contained in:
1 parent
12fc9f0377
commit
820b8b21ec
1 file changed
+2
-9
@@ -3,18 +3,11 @@ 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 StartRecording({ nextStep, prevStep }: { nextStep: () => void; prevStep: () => void }) {
|
||||
const { startRecording } = useAutobone();
|
||||
|
||||
const start = () => {
|
||||
nextStep();
|
||||
prevStep();
|
||||
startRecording();
|
||||
};
|
||||
|
||||
@@ -44,7 +37,7 @@ export function PreparationStep({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex">
|
||||
<div className="flex gap-3">
|
||||
<Button variant="primary" onClick={prevStep}>
|
||||
Previous step
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user