trying to fix protected route data fetch problem and only one more problem somewhere in the
This commit is contained in:
@@ -26,7 +26,7 @@ export default function Header() {
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
const inputRef = useRef<HTMLInputElement | undefined>();
|
||||
const inputRef = useRef<HTMLInputElement>(null);
|
||||
|
||||
const [searchInput, setSearchInput] = useState<string>("");
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ export default function ViewConvo(props: { conversationId: string }) {
|
||||
|
||||
const allConvosMap = useRecoilValue(allRelevantConversationsAtom);
|
||||
|
||||
const endOfTimeline = useRef<HTMLSpanElement>();
|
||||
const endOfTimeline = useRef<HTMLSpanElement>(null);
|
||||
|
||||
const [currentConvoModal, setCurrConvoModal] = useState<ConvoModal>(
|
||||
ConvoModal.na
|
||||
|
||||
Reference in New Issue
Block a user