Skip to content

Commit

Permalink
Adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
cschleiden committed Mar 7, 2023
1 parent 40893ae commit d266c8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -35,7 +35,7 @@
"@types/object-assign": "^4.0.30",
"@types/react": "17.0.38",
"@types/react-bootstrap": "0.32.29",
"@types/react-bootstrap-typeahead": "^3.4.7",
"@types/react-bootstrap-typeahead": "^5.1.8",
"@types/react-dom": "17.0.11",
"@types/react-redux": "^7.1.22",
"bootstrap-sass": "^3.4.1",
Expand Down
8 changes: 2 additions & 6 deletions src/components/misc/userPicker.tsx
@@ -1,5 +1,5 @@
import * as React from "react";
import { AsyncTypeahead, TypeaheadResult } from "react-bootstrap-typeahead";
import { AsyncTypeahead } from "react-bootstrap-typeahead";
import { ReactReduxContext } from "react-redux";
import { createClient } from "../../clients/clientFactory";
import { UserReference } from "../../external/imperaClients";
Expand Down Expand Up @@ -64,11 +64,7 @@ export class UserPicker extends React.Component<
onChange(changedOptions[0]);
};

private _renderUsers = (
option: TypeaheadResult<UserReference>,
props,
index
) => {
private _renderUsers = (option: any, props, index) => {
return <div key={option.id}>{option.name}</div>;
};

Expand Down

0 comments on commit d266c8e

Please sign in to comment.