Skip to content

Commit

Permalink
fix: prevent mine attr from spreading on message actions box div (#2270)
Browse files Browse the repository at this point in the history
### 🎯 Goal

Prevents excessive spread of props onto the MessageActionsBox div, and
fixes #2269.
  • Loading branch information
myandrienko committed Feb 12, 2024
1 parent 3878e2f commit 1625471
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/no-empty-interface": 0,
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-unused-vars": 1,
"@typescript-eslint/no-unused-vars": [1, { "ignoreRestSiblings": true }],
"@typescript-eslint/no-var-requires": 0,
"react-hooks/exhaustive-deps": 1,
"react-native/no-inline-styles": 0,
Expand Down
1 change: 1 addition & 0 deletions src/components/MessageActions/MessageActionsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const UnMemoizedMessageActionsBox = React.forwardRef(
handleMute,
handlePin,
isUserMuted,
mine,
open = false,
...restDivProps
} = props;
Expand Down

0 comments on commit 1625471

Please sign in to comment.