diff --git a/stories/hotbar.stories.js b/stories/hotbar.stories.js index cd301d3..ee4fd23 100644 --- a/stories/hotbar.stories.js +++ b/stories/hotbar.stories.js @@ -6,7 +6,7 @@ import Hotbar from '@/react-components/hotbar.jsx'; import DomDecorator from './dom-decorator.jsx'; const slots = Array(10).fill({}); -slots[2] = {qty: 24, source: '/assets/potion'}; +slots[2] = {qty: 24, icon: '/assets/potion/icon.png'}; export default { title: 'Dom/Inventory/Hotbar', diff --git a/stories/slot.stories.js b/stories/slot.stories.js index 088711d..d20b813 100644 --- a/stories/slot.stories.js +++ b/stories/slot.stories.js @@ -31,7 +31,7 @@ export default { }, }, args: { - source: '/assets/potion', + icon: '/assets/potion/icon.png', }, };