Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [M3-8958] - LinodeCreate OS Panel fetches region with -1 on page load #11356

Merged
merged 2 commits into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/manager/.changeset/pr-11356-fixed-1733237715392.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@linode/manager": Fixed
---

LinodeCreate OS Panel fetches region with -1 on page load ([#11356](https://github.com/linode/manager/pull/11356))
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const OperatingSystems = () => {
name: 'region',
});

const { data: region } = useRegionQuery(regionId ?? -1);
const { data: region } = useRegionQuery(regionId);

const isCreateLinodeRestricted = useRestrictedGlobalGrantCheck({
globalGrantType: 'add_linodes',
Expand Down
Loading