From f158ea3ccd1e9b06c1b3fbce7f0f2c3ddbd66e86 Mon Sep 17 00:00:00 2001 From: Skander Mzali Date: Tue, 28 Jan 2025 13:20:49 -0800 Subject: [PATCH] Fix unexported type --- ui/src/components/Bouts/BoutPage.tsx | 10 ++++++++-- ui/src/components/Bouts/SpectrogramTimeline.tsx | 2 +- ui/src/pages/bouts/new/[feedSlug].tsx | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ui/src/components/Bouts/BoutPage.tsx b/ui/src/components/Bouts/BoutPage.tsx index 9081f8c7..e878abe5 100644 --- a/ui/src/components/Bouts/BoutPage.tsx +++ b/ui/src/components/Bouts/BoutPage.tsx @@ -104,7 +104,7 @@ export default function BoutPage({ targetAudioCategory ?? bout?.category, ); - const timeBuffer = 5; // minutes + const timeBuffer = 15; // minutes const targetTimePlusBuffer = roundToNearestMinutes( min([targetTime, addMinutes(targetTime, timeBuffer)]), { roundingMethod: "ceil" }, @@ -415,7 +415,13 @@ export default function BoutPage({ sx={{ width: "100%" }} {...(boutForm.errors.audioCategory ? { error: true } : {})} > - + Category