adding separate page for create a conversation

This commit is contained in:
Arjun Patel
2022-01-31 17:23:39 -08:00
parent f4eef9c3d0
commit 6a4b353024
7 changed files with 78 additions and 21 deletions
+2 -2
View File
@@ -43,9 +43,9 @@ export default function Header() {
</Menu>
);
const inputRef = useRef<HTMLInputElement>();
const inputRef = useRef<HTMLInputElement | undefined>();
const selectSearch = () => {
inputRef.current.focus();
inputRef.current?.focus();
};
const keyMap: KeyMap = {