refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-28 23:25:47 +08:00
parent e26b6f0fcc
commit 875f74c410
17 changed files with 67 additions and 47 deletions
@@ -14,7 +14,6 @@ const AniFadeIn = keyframes`
`;
const StyledWrapper = styled.div`
/* todo */
transition: all 0.5s ease;
width: 100vw;
height: 100vh;
@@ -129,7 +128,6 @@ const ImagePreviewModal: FC<Props> = ({ download = true, data, closeModal }) =>
download={name}
type={type}
href={downloadLink || originUrl}
// target="_blank"
rel="noreferrer"
>
Download original