Skip to content

fix(example): align WeatherWidget export name with import#135

Open
Huxpro wants to merge 1 commit intocallstackincubator:mainfrom
Huxpro:fix/weather-widget-export
Open

fix(example): align WeatherWidget export name with import#135
Huxpro wants to merge 1 commit intocallstackincubator:mainfrom
Huxpro:fix/weather-widget-export

Conversation

@Huxpro
Copy link
Copy Markdown

@Huxpro Huxpro commented Apr 23, 2026

Summary

  • IosWeatherWidget.tsx exported IosWeatherWidget but WeatherTestingScreen.tsx imported it as WeatherWidget, causing WeatherWidget to be undefined
  • Navigating to Testing Grounds → Weather Widget triggers: "Unsupported element type 'undefined'. Report this as a bug in the Voltra project."
  • Renamed the export to WeatherWidget and updated the two other consumers (ios-weather-initial.tsx, widget-snapshots.harness.tsx)

Test plan

  • Navigate to Testing Grounds → Weather Widget — verify no render error
  • Verify home screen weather widget still renders correctly

WeatherTestingScreen imports `WeatherWidget` but the file exported
`IosWeatherWidget`, causing an undefined component error in the
Voltra renderer when navigating to the Weather testing screen.
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.

1 participant