We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7139add commit 70718e5Copy full SHA for 70718e5
src/components/Search.tsx
@@ -12,7 +12,7 @@ export default function Search() {
12
pkgname: global.pkgname,
13
}));
14
const dispatch = useDispatch<Dispatch>();
15
- const [value, setValue] = useState<string>();
+ const [value, setValue] = useState<string | undefined>(pkgname);
16
const navigate = useNavigate();
17
const [links] = useState<{ to: string; label: string }[]>([
18
{
0 commit comments