Fix story
This commit is contained in:
parent
5131c50d45
commit
8e692c95b0
1 changed files with 7 additions and 1 deletions
|
@ -53,7 +53,13 @@ storiesOf("Views / Categories / Update category", module)
|
|||
/>
|
||||
))
|
||||
.add("no background", () => (
|
||||
<CategoryUpdatePage {...updateProps} category={category} />
|
||||
<CategoryUpdatePage
|
||||
{...updateProps}
|
||||
category={{
|
||||
...category,
|
||||
backgroundImage: null
|
||||
}}
|
||||
/>
|
||||
))
|
||||
.add("no subcategories", () => (
|
||||
<CategoryUpdatePage {...updateProps} subcategories={[]} />
|
||||
|
|
Loading…
Reference in a new issue