Remove sx prop (in prep for typing)
This commit is contained in:
parent
ccd486f659
commit
0379216e05
|
@ -119,12 +119,11 @@ export const WatchFolder: React.FC<WatchFolderProps> = ({ open, onClose }) => {
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
PaperProps={{ sx: { height: "448px", maxWidth: "414px" } }}
|
PaperProps={{ sx: { height: "448px", maxWidth: "414px" } }}
|
||||||
>
|
>
|
||||||
<DialogTitleWithCloseButton
|
<Title_>
|
||||||
onClose={onClose}
|
<DialogTitleWithCloseButton onClose={onClose}>
|
||||||
sx={{ "&&&": { padding: "32px 16px 16px 24px" } }}
|
{t("WATCHED_FOLDERS")}
|
||||||
>
|
</DialogTitleWithCloseButton>
|
||||||
{t("WATCHED_FOLDERS")}
|
</Title_>
|
||||||
</DialogTitleWithCloseButton>
|
|
||||||
<DialogContent sx={{ flex: 1 }}>
|
<DialogContent sx={{ flex: 1 }}>
|
||||||
<Stack spacing={1} p={1.5} height={"100%"}>
|
<Stack spacing={1} p={1.5} height={"100%"}>
|
||||||
<WatchList {...{ watches, removeWatch }} />
|
<WatchList {...{ watches, removeWatch }} />
|
||||||
|
@ -149,6 +148,10 @@ export const WatchFolder: React.FC<WatchFolderProps> = ({ open, onClose }) => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const Title_ = styled("div")`
|
||||||
|
padding: 32px 16px 16px 24px;
|
||||||
|
`;
|
||||||
|
|
||||||
interface WatchList {
|
interface WatchList {
|
||||||
watches: FolderWatch[];
|
watches: FolderWatch[];
|
||||||
removeWatch: (watch: FolderWatch) => void;
|
removeWatch: (watch: FolderWatch) => void;
|
||||||
|
|
Loading…
Reference in a new issue