Make parameters optional for components ported to TSX
This commit is contained in:
parent
d770581c52
commit
69c4aee2b0
7 changed files with 18 additions and 18 deletions
|
@ -19,8 +19,8 @@ const createSuggestionLink = ({name, href}) => ({
|
|||
});
|
||||
|
||||
type SearchSuggestionsProps = {
|
||||
serverId: string;
|
||||
parentId: string;
|
||||
serverId?: string;
|
||||
parentId?: string;
|
||||
}
|
||||
|
||||
const SearchSuggestions: FunctionComponent<SearchSuggestionsProps> = ({ serverId, parentId }: SearchSuggestionsProps) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue