diff --git a/web/src/components/filter/ReviewFilterGroup.tsx b/web/src/components/filter/ReviewFilterGroup.tsx
index d4b94b4ae..6e7678cd4 100644
--- a/web/src/components/filter/ReviewFilterGroup.tsx
+++ b/web/src/components/filter/ReviewFilterGroup.tsx
@@ -515,7 +515,7 @@ function GeneralFilterButton({
}}
>
{trigger}
- {content}
+ {content}
);
}
@@ -538,45 +538,64 @@ export function GeneralFilterContent({
}: GeneralFilterContentProps) {
return (
<>
-
-
- Filter Labels
-
-
- {
- if (isChecked) {
- setCurrentLabels(undefined);
- }
- }}
- />
-
- {allLabels.map((item) => (
-
+
+ {
if (isChecked) {
- const updatedLabels = currentLabels ? [...currentLabels] : [];
-
- updatedLabels.push(item);
- setCurrentLabels(updatedLabels);
- } else {
- const updatedLabels = currentLabels ? [...currentLabels] : [];
-
- // can not deselect the last item
- if (updatedLabels.length > 1) {
- updatedLabels.splice(updatedLabels.indexOf(item), 1);
- setCurrentLabels(updatedLabels);
- }
+ setCurrentLabels(undefined);
}
}}
/>
- ))}
+
+
+
+ {allLabels.map((item) => (
+
+
+ {
+ if (isChecked) {
+ const updatedLabels = currentLabels
+ ? [...currentLabels]
+ : [];
+
+ updatedLabels.push(item);
+ setCurrentLabels(updatedLabels);
+ } else {
+ const updatedLabels = currentLabels
+ ? [...currentLabels]
+ : [];
+
+ // can not deselect the last item
+ if (updatedLabels.length > 1) {
+ updatedLabels.splice(updatedLabels.indexOf(item), 1);
+ setCurrentLabels(updatedLabels);
+ }
+ }
+ }}
+ />
+
+ ))}
+
diff --git a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx
index 84da3d62f..00bb71a3c 100644
--- a/web/src/components/overlay/MobileReviewSettingsDrawer.tsx
+++ b/web/src/components/overlay/MobileReviewSettingsDrawer.tsx
@@ -292,10 +292,3 @@ export default function MobileReviewSettingsDrawer({
>
);
}
-
-/**
- *
- */