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>("");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user