Standardize on showConversation function, delete unused functions
This commit is contained in:
parent
1dc3ed914f
commit
f2f1c3c021
35 changed files with 174 additions and 198 deletions
|
@ -16,15 +16,15 @@ type PropsType = {
|
|||
clearSearch: () => void;
|
||||
disabled?: boolean;
|
||||
i18n: LocalizerType;
|
||||
searchConversation?: ConversationType;
|
||||
searchTerm: string;
|
||||
startSearchCounter: number;
|
||||
updateSearchTerm: (searchTerm: string) => void;
|
||||
showConversation: ShowConversationType;
|
||||
onEnterKeyDown?: (
|
||||
clearSearch: () => void,
|
||||
showConversation: ShowConversationType
|
||||
) => void;
|
||||
searchConversation?: ConversationType;
|
||||
searchTerm: string;
|
||||
showConversation: ShowConversationType;
|
||||
startSearchCounter: number;
|
||||
updateSearchTerm: (searchTerm: string) => void;
|
||||
};
|
||||
|
||||
export function LeftPaneSearchInput({
|
||||
|
@ -32,12 +32,12 @@ export function LeftPaneSearchInput({
|
|||
clearSearch,
|
||||
disabled,
|
||||
i18n,
|
||||
onEnterKeyDown,
|
||||
searchConversation,
|
||||
searchTerm,
|
||||
showConversation,
|
||||
startSearchCounter,
|
||||
updateSearchTerm,
|
||||
showConversation,
|
||||
onEnterKeyDown,
|
||||
}: PropsType): JSX.Element {
|
||||
const inputRef = useRef<null | HTMLInputElement>(null);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue