Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user