Skip to content

Commit

Permalink
remove unused arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies authored and apeatling committed Sep 15, 2020
1 parent 05c5d99 commit cc221a0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ function BlockPatternsCategory( {
onInsert,
} ) {
const [ allPatterns, allCategories, onClick ] = usePatternsState(
onInsert,
selectedCategory
onInsert
);

const [ currentCategoryPatterns, setCategoryPatterns ] = useState( [] );
Expand Down

0 comments on commit cc221a0

Please sign in to comment.