Add special casing for android preview scrubbing (#10398)

* Add special casing for android scrubbing

* Fix motion data
This commit is contained in:
Nicolas Mowen
2024-03-12 09:24:18 -06:00
committed by GitHub
parent 483a95b06b
commit 8c0275fe2f
2 changed files with 28 additions and 16 deletions

View File

@@ -134,7 +134,7 @@ export function DesktopRecordingView({
const { data: motionData } = useSWR<MotionData[]>(
severity == "significant_motion"
? [
"review/activity",
"review/activity/motion",
{
before: timeRange.end,
after: timeRange.start,
@@ -351,7 +351,7 @@ export function MobileRecordingView({
const { data: motionData } = useSWR<MotionData[]>(
severity == "significant_motion"
? [
"review/activity",
"review/activity/motion",
{
before: timeRange.end,
after: timeRange.start,