Skip to content

Commit

Permalink
Fix Tabs bugs without chlidren
Browse files Browse the repository at this point in the history
  • Loading branch information
docoder committed Feb 14, 2020
1 parent 170db60 commit bbecc52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kittenjs-default-ui/package.json
@@ -1,6 +1,6 @@
{
"name": "kittenjs-default-ui",
"version": "1.5.7",
"version": "1.5.8",
"description": "Kittenjs default UI",
"author": "docoder",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion kittenjs/package.json
@@ -1,6 +1,6 @@
{
"name": "kittenjs",
"version": "1.5.7",
"version": "1.5.8",
"description": "Sever JSON Driving UI",
"author": "docoder",
"main": "build/index.js",
Expand Down
2 changes: 1 addition & 1 deletion kittenjs/src/components/Tabs/index.tsx
Expand Up @@ -38,7 +38,7 @@ function _Tabs(props: IProps): JSX.Element {
<TabPanel tab={i.label} panelKey={i.key} key={i.key}>
<Stack
pageKey={props.pageKey}
items={i.items}
items={i.items || []}
direction="vertical"
stackKey={`${props.pageKey}_${props.tabsKey}_${i.key}_main_stack`}
history={props.history}
Expand Down

0 comments on commit bbecc52

Please sign in to comment.