Skip to content

Conversation

@Herwal
Copy link
Member

@Herwal Herwal commented Nov 13, 2025

No description provided.

@cloudflare-workers-and-pages
Copy link

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
echo-screen 602c44e Nov 13 2025, 11:26 AM

@Herwal Herwal merged commit dcdc3e8 into main Nov 13, 2025
2 checks passed
@Herwal Herwal requested a review from Copilot November 13, 2025 11:27
@Herwal Herwal self-assigned this Nov 13, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the null handling for weather data in the Weather component. The change modifies the null check from validating the entire weather object to only checking if the temperature property exists, and changes the fallback from displaying an error message to returning null (rendering nothing).

  • Changed the null check from !weather to !weather?.temperature
  • Changed the fallback return from displaying "Ingen værdata tilgjengelig" message to returning null

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Herwal
Copy link
Member Author

Herwal commented Nov 13, 2025

image

@omfj
Copy link
Member

omfj commented Nov 13, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants