From 46e3157c7fe9569333101dc199a79245d8bf5b82 Mon Sep 17 00:00:00 2001
From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com>
Date: Thu, 4 Apr 2024 10:46:19 -0500
Subject: [PATCH] optimistic ui for mobile buttons too (#10827)
---
web/src/components/filter/ReviewFilterGroup.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/web/src/components/filter/ReviewFilterGroup.tsx b/web/src/components/filter/ReviewFilterGroup.tsx
index 9cfe7ed5f..f5b09836b 100644
--- a/web/src/components/filter/ReviewFilterGroup.tsx
+++ b/web/src/components/filter/ReviewFilterGroup.tsx
@@ -385,10 +385,10 @@ function ShowReviewFilter({
className="block md:hidden"
size="sm"
variant="secondary"
- onClick={() => setShowReviewed(showReviewed == 0 ? 1 : 0)}
+ onClick={() => setShowReviewedSwitch(showReviewedSwitch == 0 ? 1 : 0)}
>
>
@@ -664,10 +664,10 @@ function ShowMotionOnlyButton({