From 520509111689bb94b3ea95f7d1e797788b12787c Mon Sep 17 00:00:00 2001 From: npeter83 Date: Sat, 24 Oct 2026 17:03:01 +0200 Subject: [PATCH] refactor(player): the related-region pref key stays private to its list --- frontend/src/features/player/RelatedVideos.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/features/player/RelatedVideos.tsx b/frontend/src/features/player/RelatedVideos.tsx index 7e77fbbc..62545ecf 100644 --- a/frontend/src/features/player/RelatedVideos.tsx +++ b/frontend/src/features/player/RelatedVideos.tsx @@ -26,7 +26,7 @@ import { VideoMenu } from "../video/VideoMenu"; /** Which list YouTube fills in — on the video's topic or with what trends in Hungary — is a mood, * decided at the list, and the account keeps the last one (the owner's pick). */ -export const RELATED_REGION_PREF = "relatedRegion"; +const RELATED_REGION_PREF = "relatedRegion"; const RELATED_REGION_OPTIONS: UsePrefOptions = { parse: (raw) => (raw === "hu" ? "hu" : "topical"), };