Skip to content

Commit

Permalink
changes for release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
WesloTheWeb committed Nov 14, 2021
1 parent 447c221 commit e071052
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function Home() {
</Head>
<main>
<h1> Welcome to the <br /><span className="title">Weather App</span></h1>
<p className="instructions">To use, simply enter a city or zipcode below and press enter.</p>
<p className="instructions">To use, simply enter a city or zip code below and press enter.</p>
<QueryContext.Provider value={providerValues}>
<LocationInput />
<Forecast value={providerValues}/>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ForeCastCard/ForeCastCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const ForeCastCard = (
<h2>{city}, {state}</h2>
<span>{country}</span>
<div>
<p>The local time for this area is {timeZone}. Visibility is currently {visMiles} miles / {visKM} kilometers</p>
<p>The local date and time for this area is {timeZone}. Visibility is currently {visMiles} miles / {visKM} kilometers</p>
<h4>Feels like...</h4>
<p>{feelsLikeF}°F | {feelsLikeC}°C</p>
</div>
Expand Down
1 change: 0 additions & 1 deletion src/components/Instructions/Instructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ const Instructions = (props) => {
);
};


export default Instructions;
2 changes: 1 addition & 1 deletion src/containers/LocationInput/LocationInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const LocationInput = (props) => {

const handleQuery = (evnt) => {
if (evnt.key === 'Enter') {
fetch(`${api.baseURL}current.json?key=${api.apiKey}&q=${query}}&aqi=yes`)
fetch(`${api.baseURL}forecast.json?key=${api.apiKey}&q=${query}}&aqi=yes`)
.then(res => res.json())
.then(result => {
setWeather(result);
Expand Down

0 comments on commit e071052

Please sign in to comment.