logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.66k stars 439 forks source link

fix(console): fix loading and error handling for org details page #6313

Closed xiaoyijun closed 3 months ago

xiaoyijun commented 3 months ago

Summary

Loading and error state should be handled by the DetailsPage component, or error and loading state will be displayed together with the detail content.

image

Testing

Test locally.

Checklist

- [ ] .changeset - [ ] unit tests - [ ] integration tests - [ ] necessary TSDoc comments

github-actions[bot] commented 3 months ago

COMPARE TO master

Total Size Diff :chart_with_downwards_trend: -199 Bytes

Diff by File |Name|Diff| |---|---| |packages/console/src/pages/OrganizationDetails/index.tsx|:chart_with_downwards_trend: -199 Bytes|