Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

pigmentize

Manav Rathie6201163718e
diff --git a/web/packages/new/photos/components/CollectionsSortOptions.tsx b/web/packages/new/photos/components/CollectionsSortOptions.tsx
index 984f54f78d..3ea515cd0a 100644
--- a/web/packages/new/photos/components/CollectionsSortOptions.tsx
+++ b/web/packages/new/photos/components/CollectionsSortOptions.tsx
@@ -52,12 +52,11 @@ export const CollectionsSortOptions: React.FC<CollectionsSortOptionsProps> = ({
},
nestedInDialog ? { backgroundColor: "background.paper2" } : {},
]}
- triggerButtonSxProps={{
- backgroundColor: (theme) =>
- transparentTriggerButtonBackground
- ? undefined
- : theme.colors.fill.faint,
- }}
+ triggerButtonSxProps={[
+ transparentTriggerButtonBackground
+ ? {}
+ : { backgroundColor: "fill.faint" },
+ ]}
>
<SortByOption {...optProps} sortBy="name">
{t("name")}