Skip to content

Commit

Permalink
Make prettier happy about code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Wolf <[email protected]>
  • Loading branch information
christianlupus committed Aug 26, 2024
1 parent 91eae25 commit 21f4a82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/composables/useRecipeFilterControls/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export default function useRecipeFilterControls(props) {
* @type {import('vue').ComputedRef<Array<string>>}
*/
const uniqueCategories = computed(() =>
[...new Set(rawCategories.value)].sort(caseInsensitiveSort));
[...new Set(rawCategories.value)].sort(caseInsensitiveSort),
);

/**
* An array of all keywords in the recipes. These are neither sorted nor unique
Expand All @@ -146,7 +147,8 @@ export default function useRecipeFilterControls(props) {
* A unique and sorted set of all keywords in all recipes.
*/
const uniqueKeywords = computed(() =>
[...new Set(rawKeywords.value)].sort(caseInsensitiveSort));
[...new Set(rawKeywords.value)].sort(caseInsensitiveSort),
);

return {
uniqueCategories,
Expand Down

0 comments on commit 21f4a82

Please sign in to comment.