Skip to content

Commit

Permalink
fix(actions): Do not return null (#368)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac authored Oct 14, 2024
1 parent 5080157 commit 9f58c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/module/src/ResponsiveAction/ResponsiveAction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export interface ResponsiveActionProps extends ButtonProps {
};

// This component is only used declaratively - rendering ishandled by ResponsiveActions
export const ResponsiveAction: React.FunctionComponent<ResponsiveActionProps> = (_props: ResponsiveActionProps) => null;
export const ResponsiveAction: React.FunctionComponent<ResponsiveActionProps> = (_props: ResponsiveActionProps) => <div/>;

export default ResponsiveAction;

0 comments on commit 9f58c54

Please sign in to comment.