Skip to content

Commit

Permalink
fix: add default thumbnail to creation page
Browse files Browse the repository at this point in the history
  • Loading branch information
matteopolak committed Dec 31, 2023
1 parent a2b168f commit da164c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routes/(sidebar)/recipes/[id=integer]/edit/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@
markdown: true,
})
.then(r => {
recipe = r;
recipe = {
thumbnail: '',
...r,
};
});
}
Expand Down

0 comments on commit da164c5

Please sign in to comment.