Skip to content

armgit / ente

Public Imported from GitHub
0

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

No chevron there anymore

Manav Rathi7913debe8cc3
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsx
index b92010351a..3d6b36d744 100644
--- a/web/packages/new/photos/components/SearchBar.tsx
+++ b/web/packages/new/photos/components/SearchBar.tsx
@@ -435,20 +435,13 @@ const EmptyState: React.FC<
};
const SearchPeopleHeader: React.FC<ButtonishProps> = ({ onClick }) => (
- <SearchPeopleHeaderButton {...{ onClick }}>
- <Typography sx={{ color: "text.muted" }}>{t("people")}</Typography>
- </SearchPeopleHeaderButton>
-);
-
-const SearchPeopleHeaderButton = styled(UnstyledButton)(
- ({ theme }) => `
- /* The color for the chevron */
- color: ${theme.colors.stroke.muted};
- /* Hover indication */
- && :hover {
- color: ${theme.colors.stroke.base};
- }
-`,
+ <UnstyledButton {...{ onClick }}>
+ <Typography
+ sx={{ color: "text.muted", ":hover": { color: "text.base" } }}
+ >
+ {t("people")}
+ </Typography>
+ </UnstyledButton>
);
const Option: React.FC<OptionProps<SearchOption, false>> = (props) => (