Skip to content

Check that the store id is defined and redirect to home if undefined#848

Merged
microbit-robert merged 2 commits into
mainfrom
project-id-fix
Apr 8, 2026
Merged

Check that the store id is defined and redirect to home if undefined#848
microbit-robert merged 2 commits into
mainfrom
project-id-fix

Conversation

@microbit-robert
Copy link
Copy Markdown

Adds another check for the store id in the DataSamplesPage. If it is not defined, redirect to the home page. This prevents the error in #847

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

Preview build will be at
https://review-createai.microbit.org/project-id-fix/

Copy link
Copy Markdown

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

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

Minor comment, but otherwise LGTM as a quick fix.

Comment thread src/pages/DataSamplesPage.tsx Outdated
@microbit-robert microbit-robert changed the title Also check that the store id is defined and redirect to home if not Check that the store id is defined and redirect to home if undefined Apr 8, 2026
@microbit-robert microbit-robert merged commit 91d6ec1 into main Apr 8, 2026
1 check passed
@microbit-robert microbit-robert deleted the project-id-fix branch April 8, 2026 09:24
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.

2 participants