fix: storybook

This commit is contained in:
cha0s 2024-06-29 06:28:03 -05:00
parent 853f9f1fb4
commit 221666783d
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import Hotbar from '@/react-components/hotbar.jsx';
import DomDecorator from './dom-decorator.jsx'; import DomDecorator from './dom-decorator.jsx';
const slots = Array(10).fill({}); const slots = Array(10).fill({});
slots[2] = {qty: 24, source: '/assets/potion'}; slots[2] = {qty: 24, icon: '/assets/potion/icon.png'};
export default { export default {
title: 'Dom/Inventory/Hotbar', title: 'Dom/Inventory/Hotbar',

View File

@ -31,7 +31,7 @@ export default {
}, },
}, },
args: { args: {
source: '/assets/potion', icon: '/assets/potion/icon.png',
}, },
}; };