aboutsummaryrefslogtreecommitdiffstats
path: root/src/models/RecipePreview.js
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2017-11-23 11:30:35 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2017-11-23 11:30:35 +0100
commit27894ebbbf38193a6f77dc9837731bca081afd32 (patch)
tree06c5ee6b0905d7db5be618a18bc788d7361c2074 /src/models/RecipePreview.js
parentAdd SettingsModel and fix issue with improper mobx data handling (diff)
downloadferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.tar.gz
ferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.tar.zst
ferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.zip
Remove flow types
Diffstat (limited to 'src/models/RecipePreview.js')
-rw-r--r--src/models/RecipePreview.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/RecipePreview.js b/src/models/RecipePreview.js
index 7b497edf3..525a5c4b5 100644
--- a/src/models/RecipePreview.js
+++ b/src/models/RecipePreview.js
@@ -6,7 +6,7 @@ export default class RecipePreview {
6 icon: string = ''; // TODO: check if this isn't replaced by `icons` 6 icon: string = ''; // TODO: check if this isn't replaced by `icons`
7 featured: bool = false; 7 featured: bool = false;
8 8
9 constructor(data: Object) { 9 constructor(data) {
10 if (!data.id) { 10 if (!data.id) {
11 throw Error('RecipePreview requires Id'); 11 throw Error('RecipePreview requires Id');
12 } 12 }