diff --git a/packages/web/pages/settings/pinned-searches.tsx b/packages/web/pages/settings/pinned-searches.tsx
index 819278b78..a1b30b13f 100644
--- a/packages/web/pages/settings/pinned-searches.tsx
+++ b/packages/web/pages/settings/pinned-searches.tsx
@@ -18,7 +18,7 @@ import { applyStoredTheme } from '../../lib/themeUpdater'
import { useGetLabelsQuery } from '../../lib/networking/queries/useGetLabelsQuery'
import { useGetSavedSearchQuery } from '../../lib/networking/queries/useGetSavedSearchQuery'
import { Label } from '../../lib/networking/fragments/labelFragment'
-import { Circle } from 'phosphor-react'
+import { CheckSquare, Circle, Square } from 'phosphor-react'
import { SavedSearch } from '../../lib/networking/fragments/savedSearchFragment'
import { usePersistedState } from '../../lib/hooks/usePersistedState'
@@ -248,7 +248,7 @@ function LabelButton(props: LabelButtonProps): JSX.Element {
const labelId = `checkbox-label-${props.label.id}`
return (
- {}}
- />
{props.label.name}
@@ -281,10 +275,11 @@ type SearchButtonProps = {
}
function SearchButton(props: SearchButtonProps): JSX.Element {
+ console.log(' ', props.search.name, props.isSelected)
const searchId = `checkbox-search-${props.search.id}`
return (
- {}}
- />
{props.search.name}
)
}
type CheckboxButtonProps = {
- key: string
+ itemKey: string
title: string
isSelected: boolean
item: PinnedSearch
@@ -338,7 +327,7 @@ function CheckboxButton(props: CheckboxButtonProps): JSX.Element {
)
return (
+ {props.isSelected ? (
+
+ ) : (
+
+ )}
{props.children}
)