Skip to content

Commit 8f007e3

Browse files
committed
feat(navbar): search query defaultValue
1 parent a40ecae commit 8f007e3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/components/Navbar.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const NavBar = () => {
5757
type="search"
5858
name="query"
5959
placeholder="Search"
60+
{...(router.query.query && { defaultValue: router.query.query })}
6061
/>
6162
<button type="submit" className="absolute right-0 top-0 mt-5 mr-4">
6263
<svg

src/pages/settings/imports.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ const Imports = () => {
334334
</>
335335
) : (
336336
<h4 className="my-10 text-center text-neutral-400">
337-
Importing is currently disabled
337+
Importing is currently not available.
338338
</h4>
339339
)}
340340
<Divider className="my-5 border-neutral-600" />

0 commit comments

Comments
 (0)