diff options
author | crupest <crupest@outlook.com> | 2023-08-31 18:33:29 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-31 18:33:29 +0800 |
commit | 1a543da5a018d1a99b51bfe5d7d90edff0502a11 (patch) | |
tree | 3169fae9a4b9a6229566bb3243b61d3d9fa78395 /FrontEnd/src/components/BlobImage.tsx | |
parent | 4a6d8c606fab0215065ce65d2f105fafd8db7169 (diff) | |
download | timeline-1a543da5a018d1a99b51bfe5d7d90edff0502a11.tar.gz timeline-1a543da5a018d1a99b51bfe5d7d90edff0502a11.tar.bz2 timeline-1a543da5a018d1a99b51bfe5d7d90edff0502a11.zip |
Fix a fatal bug in geometry.
Diffstat (limited to 'FrontEnd/src/components/BlobImage.tsx')
-rw-r--r-- | FrontEnd/src/components/BlobImage.tsx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/FrontEnd/src/components/BlobImage.tsx b/FrontEnd/src/components/BlobImage.tsx index cccf2f74..047a13b4 100644 --- a/FrontEnd/src/components/BlobImage.tsx +++ b/FrontEnd/src/components/BlobImage.tsx @@ -1,7 +1,13 @@ -import { ComponentPropsWithoutRef, useState, useEffect, useMemo } from "react"; +import { + useState, + useEffect, + useMemo, + Ref, + ComponentPropsWithoutRef, +} from "react"; type BlobImageProps = Omit<ComponentPropsWithoutRef<"img">, "src"> & { - imgRef?: React.Ref<HTMLImageElement>; + imgRef?: Ref<HTMLImageElement>; src?: Blob | string | null; keyBySrc?: boolean; }; |