Skip to content

Commit

Permalink
feat: TET-851 resolve bug problem
Browse files Browse the repository at this point in the history
  • Loading branch information
karolinaszarek committed Sep 17, 2024
1 parent 04660e6 commit 4df2c96
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/components/Dialog/Dialog.props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import type { Action } from '@/types';

export type DialogProps = {
actions?: Action[];
// additionalAction?: Action;
children?: ReactNode;
content?: string;
custom?: DialogConfig;
Expand All @@ -18,6 +17,3 @@ export type DialogProps = {
size?: DialogSize;
title?: string;
};
// } & {
// Item: ForwardRefExoticComponent<allComponentsProps & MarginProps>;
// };
2 changes: 1 addition & 1 deletion src/components/Dialog/utils.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const checkIfChildrenIsCustomComponent = (
element: React.ReactElement<any>,
element: React.ReactElement<unknown>,
) => {
const { type } = element;
const displayName =
Expand Down

0 comments on commit 4df2c96

Please sign in to comment.