Fix the ref, upload, keyframes, and implicit-any type errors. [skip build]
This commit is contained in:
@@ -42,7 +42,7 @@ type MessageSearchProps = {
|
||||
allowGlobal?: boolean;
|
||||
rooms: string[];
|
||||
senders?: string[];
|
||||
scrollRef: RefObject<HTMLDivElement>;
|
||||
scrollRef: RefObject<HTMLDivElement | null>;
|
||||
};
|
||||
export function MessageSearch({
|
||||
defaultRoomsFilterName,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { Icon, Icons } from '../../components/icons';
|
||||
type SearchProps = {
|
||||
active?: boolean;
|
||||
loading?: boolean;
|
||||
searchInputRef: RefObject<HTMLInputElement>;
|
||||
searchInputRef: RefObject<HTMLInputElement | null>;
|
||||
onSearch: (term: string) => void;
|
||||
onReset: () => void;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user