Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit ac77eed

Browse files
chore: removed page props
1 parent 0bc86ca commit ac77eed

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/renderer/pages/FavoriteCookbooks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function FavoriteCookbooks() {
4242
return <CookbookTableEmpty />;
4343
}
4444

45-
return <CookbookTable page="favorite" cookbooks={userCookbooks} />;
45+
return <CookbookTable cookbooks={userCookbooks} />;
4646
}

src/renderer/pages/FavoriteSnippets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function MySnippets() {
4242
return <SnippetTableEmpty />;
4343
}
4444

45-
return <SnippetTable page="favorite" recipes={userFavoriteRecipes} />;
45+
return <SnippetTable recipes={userFavoriteRecipes} />;
4646
}

src/renderer/pages/MyCookbooks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function MyCookbooks() {
4242
return <CookbookTableEmpty />;
4343
}
4444

45-
return <CookbookTable page="my" cookbooks={userCookbooks} />;
45+
return <CookbookTable cookbooks={userCookbooks} />;
4646
}

src/renderer/pages/MySnippets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function MySnippets() {
4242
return <SnippetTableEmpty />;
4343
}
4444

45-
return <SnippetTable page="my" recipes={userRecipes} />;
45+
return <SnippetTable recipes={userRecipes} />;
4646
}

src/renderer/pages/TeamCookbooks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function TeamCookbooks() {
4242
return <CookbookTableEmpty />;
4343
}
4444

45-
return <CookbookTable page="team" cookbooks={userCookbooks} />;
45+
return <CookbookTable cookbooks={userCookbooks} />;
4646
}

src/renderer/pages/TeamSnippets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ export default function TeamSnippets() {
4242
return <SnippetTableEmpty />;
4343
}
4444

45-
return <SnippetTable page="team" recipes={teamRecipes} />;
45+
return <SnippetTable recipes={teamRecipes} />;
4646
}

0 commit comments

Comments
 (0)