Skip to content

Commit

Permalink
Remove expected errors no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
manzoorwanijk committed Nov 6, 2024
1 parent c26ee78 commit 65c1be7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/core-data/src/hooks/use-entity-records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export function useEntityRecordsWithPermissions< RecordType >(

const permissions = useSelect(
( select ) => {
// @ts-expect-error getEntityRecordsPermissions doesn't exist in the core store types
const { getEntityRecordsPermissions } = unlock(
select( coreStore )
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ export function AddFilterMenu( {
} ) {
const inactiveFilters = filters.filter( ( filter ) => ! filter.isVisible );
return (
<Menu
// @ts-expect-error trigger prop exists on Menu component
trigger={ trigger }
>
<Menu trigger={ trigger }>
{ inactiveFilters.map( ( filter ) => {
return (
<Menu.Item
Expand Down

0 comments on commit 65c1be7

Please sign in to comment.