Skip to content

Commit 316d84b

Browse files
authored
fix(MessageViewButton - TypeScript): omit inherited submits prop (#5139)
1 parent f0acec5 commit 316d84b

File tree

1 file changed

+1
-1
lines changed
  • packages/main/src/components/MessageViewButton

1 file changed

+1
-1
lines changed

packages/main/src/components/MessageViewButton/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const useStyles = createUseStyles(
6060
);
6161

6262
export interface MessageViewButtonProptypes
63-
extends Omit<ButtonPropTypes, 'design' | 'icon' | 'iconEnd' | 'children' | 'type'> {
63+
extends Omit<ButtonPropTypes, 'design' | 'icon' | 'iconEnd' | 'children' | 'type' | 'submits'> {
6464
/**
6565
* Specifies the type of the button.
6666
*/

0 commit comments

Comments
 (0)