Skip to content

Commit

Permalink
Merge pull request #8561 from stesie/row-click-fn-type
Browse files Browse the repository at this point in the history
Fix RowClickFunction type to accept false.
  • Loading branch information
djhi authored Jan 9, 2023
2 parents 7f4dc6c + 9c79772 commit 3fb15fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export type RowClickFunction = (
id: Identifier,
resource: string,
record: RaRecord
) => string | Promise<string>;
) => string | false | Promise<string | false>;

const areEqual = (prevProps, nextProps) => {
const { children: _1, expand: _2, ...prevPropsWithoutChildren } = prevProps;
Expand Down

0 comments on commit 3fb15fa

Please sign in to comment.