Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
Checks / checks (push) Successful in 2m6s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-02 00:51:31 +11:00
parent 45f38f2ac8
commit 1e3d630b1a
30 changed files with 134 additions and 98 deletions
+2 -2
View File
@@ -130,7 +130,7 @@ const createCarouselUuid = (): string => {
interface RoomInputProps {
editor: Editor;
fileDropContainerRef: RefObject<HTMLElement>;
fileDropContainerRef: RefObject<HTMLElement | null>;
roomId: string;
room: Room;
/** When provided, all messages are sent as replies in this thread. */
@@ -207,7 +207,7 @@ export const RoomInput = forwardRef<HTMLDivElement, RoomInputProps>(
roomUploadAtomFamily,
selectedFiles.map((f) => f.file),
);
const uploadBoardHandlers = useRef<UploadBoardImperativeHandlers>();
const uploadBoardHandlers = useRef<UploadBoardImperativeHandlers | undefined>(undefined);
const editorRef = useRef<HTMLDivElement>(null);
const imagePackRooms: Room[] = useImagePackRooms(roomId, roomToParents);