fix: change journey depth default to 4, max to 5

This commit is contained in:
Usman Baig
2026-03-16 22:02:29 +01:00
parent 17f2bdc9e9
commit 52427fea93

View File

@@ -16,7 +16,7 @@ import {
useJourneyEntryPoints,
} from '@/lib/swr/dashboard'
const DEFAULT_DEPTH = 10
const DEFAULT_DEPTH = 4
function getThisWeekRange(): { start: string; end: string } {
const today = new Date()
@@ -148,12 +148,12 @@ export default function JourneysPage() {
<span className="text-brand-orange font-bold">
{depth} steps deep
</span>
<span>10 steps</span>
<span>5 steps</span>
</div>
<input
type="range"
min={2}
max={10}
max={5}
step={1}
value={depth}
onChange={(e) => setDepth(parseInt(e.target.value))}