Skip to content

Commit

Permalink
Update packages/core-data/src/hooks/use-resource-permissions.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Hao <kevin830726@gmail.com>
  • Loading branch information
adamziel and kevin940726 authored May 24, 2022
1 parent 160f5f7 commit 5338287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/hooks/use-resource-permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type ResourcePermissionsResolution< IdType > = [
*/
export default function __experimentalUseResourcePermissions< IdType = void >(
resource: string,
id: IdType
id?: IdType
): ResourcePermissionsResolution< IdType > {
return useQuerySelect(
( resolve ) => {
Expand Down

0 comments on commit 5338287

Please sign in to comment.