show user a preview of the video and allow them to re-record

This commit is contained in:
Abi Raja 2024-03-22 11:14:44 -04:00
parent 6a0201a5c0
commit 87a44cfb77

View File

@ -58,6 +58,8 @@ function ScreenRecorder({
const dataUrl = await blobToBase64DataUrl(completeBlob);
// downloadBlob(completeBlob);
setScreenRecordingDataUrl(dataUrl);
setScreenRecorderState(ScreenRecorderState.FINISHED);
};