Skip to content

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davewwww committed Feb 20, 2024
1 parent f24ad1d commit 5c9491f
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions packages/vue/src/jsonFormsCompositions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ export const useJsonFormsDispatchCell = (props: ControlProps) => {
return { cell: control, ...other };
};


/**
* Provides bindings for 'Categorization' elements.
*
Expand All @@ -486,14 +485,14 @@ export const useJsonFormsCategorization = (props: LayoutProps) => {
const { layout, ...other } = useJsonFormsLayout(props);

const categories = (layout.value.uischema as Categorization).elements.map(
(category) => {
const categoryProps: LayoutProps = {
...props,
uischema: category,
};

return useJsonFormsLayout(categoryProps).layout;
}
(category) => {
const categoryProps: LayoutProps = {
...props,
uischema: category,
};

return useJsonFormsLayout(categoryProps).layout;
}
);

return { layout, categories, ...other };
Expand Down

0 comments on commit 5c9491f

Please sign in to comment.