mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-15 06:45:36 +08:00
feat(config): clear dns query results when input content gets cleared
This commit is contained in:
parent
0d109f3cb6
commit
04cae65805
@ -76,6 +76,9 @@ const DNSQueryForm = () => {
|
||||
name="name"
|
||||
class="input input-bordered min-w-0 flex-1"
|
||||
placeholder="google.com"
|
||||
onInput={(e) => {
|
||||
if (!e.target.value) setDNSQueryResult([])
|
||||
}}
|
||||
/>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
|
Loading…
Reference in New Issue
Block a user