Skip to content

Commit

Permalink
Removing consoles
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberviking5 committed Oct 3, 2023
1 parent dcea2e5 commit 22165c9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/kitchen-sink/src/examples/weather-app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,13 @@ const WelcomeWeatherLogo = styled.img`
`;

type Weather = {
weather: string;
city: string;
weatherDesc: string | undefined;
temp: any;
};

const WeatherComponent = block(
({ weather, city, weatherDesc, temp }: Weather) => {
console.log(weather);
console.log(city);
({city, weatherDesc, temp }: Weather) => {
return (
<div>
<Condition>
Expand Down Expand Up @@ -100,7 +97,6 @@ export default function Weather() {
updateWeather(data.weather[0].main);
updateWeatherDesc(data.weather[0].description);
updatetemp(data.main.temp);
// console.log(data.weather[0].main);
};
return (
<div
Expand Down Expand Up @@ -130,7 +126,6 @@ export default function Weather() {
{city && weather ? (
<>
<WeatherComponent
weather={weather}
city={city}
weatherDesc={weatherDesc}
temp={temp}
Expand Down

0 comments on commit 22165c9

Please sign in to comment.