@vetc-miniapp/ui-react 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vetc-miniapp/ui-react",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "MiniApp Platform UI React",
5
5
  "main": "src/ui-react/index.js",
6
6
  "types": "src/ui-react/index.ts",
@@ -62,7 +62,7 @@ export function App({ config, children }) {
62
62
  // Tránh crash nếu chưa có page
63
63
  if (!page || !page.Component) {
64
64
  console.warn("MiniApp: Page not found for current route");
65
- // return null;
65
+ return <div />; // hoặc spinner
66
66
  }
67
67
 
68
68
  const Component = page.Component || <div />;