Skip to content

armgit / ente

Public Imported from GitHub
0

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

Tweak

Manav Rathi3a2881b35044
diff --git a/web/apps/photos/src/components/SearchBar.tsx b/web/apps/photos/src/components/SearchBar.tsx
index 7ab71c76af..c1a2603c84 100644
--- a/web/apps/photos/src/components/SearchBar.tsx
+++ b/web/apps/photos/src/components/SearchBar.tsx
@@ -58,7 +58,6 @@ import {
} from "services/searchService";
import { Collection } from "types/collection";
-
const { Option, ValueContainer, Menu } = components;
interface SearchBarProps {
@@ -291,7 +290,7 @@ const SearchInputWrapper = styled(CenteredFlex, {
`}
`;
-export const SelectStyles = {
+const SelectStyles = {
container: (style) => ({
...style,
flex: 1,
diff --git a/web/apps/photos/src/pages/gallery.tsx b/web/apps/photos/src/pages/gallery.tsx
index 725da02576..7285c07e48 100644
--- a/web/apps/photos/src/pages/gallery.tsx
+++ b/web/apps/photos/src/pages/gallery.tsx
@@ -1305,24 +1305,22 @@ interface HiddenSectionNavbarContentsProps {
const HiddenSectionNavbarContents: React.FC<
HiddenSectionNavbarContentsProps
-> = ({ onBack }) => {
- return (
- <HorizontalFlex
- gap={"24px"}
- sx={{
- width: "100%",
- background: (theme) => theme.palette.background.default,
- }}
- >
- <IconButton onClick={onBack}>
- <ArrowBack />
- </IconButton>
- <FlexWrapper>
- <Typography>{t("HIDDEN")}</Typography>
- </FlexWrapper>
- </HorizontalFlex>
- );
-};
+> = ({ onBack }) => (
+ <HorizontalFlex
+ gap={"24px"}
+ sx={{
+ width: "100%",
+ background: (theme) => theme.palette.background.default,
+ }}
+ >
+ <IconButton onClick={onBack}>
+ <ArrowBack />
+ </IconButton>
+ <FlexWrapper>
+ <Typography>{t("HIDDEN")}</Typography>
+ </FlexWrapper>
+ </HorizontalFlex>
+);
interface SearchResultSummaryHeaderProps {
searchResultSummary: SearchResultSummary;