aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/communityRecipes
diff options
context:
space:
mode:
authorLibravatar Markus Hatvan <markus_hatvan@aon.at>2021-11-18 17:37:45 +0100
committerLibravatar GitHub <noreply@github.com>2021-11-18 22:07:45 +0530
commitb37a6b07b39c8c7827052dc6fb97f490f1e0f514 (patch)
tree0276e7c51f5ebfa14c566def7aac39f014c2291d /src/features/communityRecipes
parentUpdate github issues template [skip ci] (diff)
downloadferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.gz
ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.tar.zst
ferdium-app-b37a6b07b39c8c7827052dc6fb97f490f1e0f514.zip
chore: convert various files to TS (#2246)
* convert various files to TS * removed outdated docs/example-feature folder * turn off unicorn/no-empty-file * update eslint config
Diffstat (limited to 'src/features/communityRecipes')
-rw-r--r--src/features/communityRecipes/store.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts
index a8d358ba0..c7a51c311 100644
--- a/src/features/communityRecipes/store.ts
+++ b/src/features/communityRecipes/store.ts
@@ -26,7 +26,7 @@ export class CommunityRecipesStore extends FeatureStore {
26 (recipePreview: { isDevRecipe: boolean; author: any[] }) => { 26 (recipePreview: { isDevRecipe: boolean; author: any[] }) => {
27 // TODO: Need to figure out if this is even necessary/used 27 // TODO: Need to figure out if this is even necessary/used
28 recipePreview.isDevRecipe = !!recipePreview.author.some( 28 recipePreview.isDevRecipe = !!recipePreview.author.some(
29 (author: { email: any }) => 29 (author: { email: string }) =>
30 author.email === this.stores.user.data.email, 30 author.email === this.stores.user.data.email,
31 ); 31 );
32 32