From ed313e928f11c571a7e8fada2d246cc34648c03e Mon Sep 17 00:00:00 2001 From: Nikhil Woodruff Date: Wed, 25 Sep 2024 13:59:48 +0100 Subject: [PATCH] Turn off by default --- src/pages/policy/PolicyRightSidebar.jsx | 10 +++++----- src/pages/policy/output/FetchAndDisplayImpact.jsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/policy/PolicyRightSidebar.jsx b/src/pages/policy/PolicyRightSidebar.jsx index 9c638c897..9fe872f14 100644 --- a/src/pages/policy/PolicyRightSidebar.jsx +++ b/src/pages/policy/PolicyRightSidebar.jsx @@ -97,7 +97,7 @@ function FullLiteToggle() { // Selector like the dataset selector that toggles between 'full' and 'lite' versions of the dataset. // should set a query param with mode=light or mode=full const [searchParams, setSearchParams] = useSearchParams(); - const value = searchParams.get("mode") || "lite"; + const value = searchParams.get("mode") || "full"; const displayCategory = useDisplayCategory(); return ( @@ -111,11 +111,11 @@ function FullLiteToggle() { }} > { let newSearch = copySearchParams(searchParams); - newSearch.set("mode", checked ? "full" : "lite"); + newSearch.set("mode", checked ? "lite" : "full"); setSearchParams(newSearch); }} /> @@ -125,11 +125,11 @@ function FullLiteToggle() { fontSize: displayCategory !== "mobile" && "0.95em", }} > - Use full dataset + Use a smaller sample