Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Aug 1, 2024
1 parent ad3ff55 commit 5a1d8d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function useLocation() {
}

function App() {
const [weather, setWeather] = useState<Weather | null>(null)
const [weather, setWeather] = useState<Weather | null>(weatherService.getLastWeather())
const [address, setAddress] = useState('')
const [loading, setLoading] = useState(false)
const [location] = useLocation()
Expand Down

0 comments on commit 5a1d8d3

Please sign in to comment.