fix: image not shown

This commit is contained in:
Jakob Stornig 2024-01-02 14:50:42 +01:00
parent 62e71d1b49
commit a51dee6795
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ export default function Page() {
<Widget>
<BudgetRemaining budget={budget} spent={spent} />
</Widget>
<Widget text='#TODO Insert Pie-Chart' image='../../../assets/images/8b14el.jpg'/>
<Widget text='#TODO Insert Pie-Chart' image={require('../../../assets/images/8b14el.jpg')}/>
<Widget>
<BudgetOverview budget={budget} spent={spent} />
</Widget>