Skip to content

Commit

Permalink
style: dnsMenuLog初始值问题 (#2040)
Browse files Browse the repository at this point in the history
  • Loading branch information
song-xiao-lin authored Oct 12, 2024
1 parent 0d4908e commit a3af97d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export const MenuDNSLog: React.FC<MenuDNSLogProps> = React.memo((props) => {
const [records, setRecords] = useState<DNSLogEvent[]>([])
const [total, setTotal] = useState<number>(0)
const [onlyARecord, setOnlyARecord, getOnlyARecord] = useGetState(false)
const [dnsMode, setDNSMode, getDNSMode] = useGetState<string>("")
const [useLocal, setUseLocal, getUseLocal] = useGetState<boolean>(true)
const [dnsMode, setDNSMode, getDNSMode] = useGetState<string>("内置")
const [useLocal, setUseLocal, getUseLocal] = useGetState<boolean>(false)
const [loading, setLoading] = useState<boolean>(false)

useEffect(() => {
Expand Down

0 comments on commit a3af97d

Please sign in to comment.