Skip to content

Commit

Permalink
chore: cleanup redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
WikusKriek committed Sep 15, 2023
1 parent a608d6d commit 04551a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions src/pages/home/report/ReportActionCompose/SuggestionEmoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ const propTypes = {
/** Callback when a emoji was inserted */
onInsertedEmoji: PropTypes.func.isRequired,

/** The current selection */
selection: PropTypes.shape({
start: PropTypes.number.isRequired,
end: PropTypes.number.isRequired,
}).isRequired,

...SuggestionProps.baseProps,
};

Expand Down
1 change: 0 additions & 1 deletion src/pages/home/report/ReportActionCompose/Suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ function Suggestions({
ref={suggestionEmojiRef}
// eslint-disable-next-line react/jsx-props-no-spreading
{...baseProps}
selection={selection}
onInsertedEmoji={onInsertedEmoji}
resetKeyboardInput={resetKeyboardInput}
/>
Expand Down

0 comments on commit 04551a3

Please sign in to comment.