fix(surprise-me): change default algorithm to weighted_random
- Update initial algorithm state from 'unwatched_first' to 'weighted_random' - Adjust SurpriseMePage to use new default recommendation algorithm
This commit is contained in:
parent
438e4f2192
commit
f65b67a64d
|
|
@ -14,7 +14,7 @@ const ALGORITHMS = [
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
export default function SurpriseMePage() {
|
export default function SurpriseMePage() {
|
||||||
const [algorithm, setAlgorithm] = useState<Algorithm>('unwatched_first');
|
const [algorithm, setAlgorithm] = useState<Algorithm>('weighted_random');
|
||||||
const [recommendations, setRecommendations] = useState<any[]>([]);
|
const [recommendations, setRecommendations] = useState<any[]>([]);
|
||||||
const [isLoading, setIsLoading] = useState(true);
|
const [isLoading, setIsLoading] = useState(true);
|
||||||
const [selectedVideo, setSelectedVideo] = useState<any>(null);
|
const [selectedVideo, setSelectedVideo] = useState<any>(null);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue