Skip to content

Commit

Permalink
Updated react-bootstrap to latest version (#2194)
Browse files Browse the repository at this point in the history
* Updated react-bootstrap to latest

* removed unused imports

* Fixed errors

* Added optional name and value attributes

---------

Co-authored-by: Vamshi Maskuri <[email protected]>
  • Loading branch information
adithyanotfound and varshith257 authored Aug 30, 2024
1 parent 6e51fc0 commit 988564b
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 64 deletions.
103 changes: 53 additions & 50 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
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react": "^17.0.2",
"react-app-rewired": "^2.2.1",
"react-beautiful-dnd": "^13.1.1",
"react-bootstrap": "^2.7.4",
"react-bootstrap": "^2.10.4",
"react-datepicker": "^7.3.0",
"react-dom": "^17.0.2",
"react-google-recaptcha": "^3.1.0",
Expand Down
8 changes: 4 additions & 4 deletions src/screens/OrganizationPeople/AddMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,8 @@ function AddMember(): JSX.Element {
<Dropdown.Menu>
<Dropdown.Item
id="existingUser"
value="existingUser"
name="existingUser"
data-value="existingUser"
data-name="existingUser"
data-testid="existingUser"
onClick={(): void => {
openAddUserModal();
Expand All @@ -309,8 +309,8 @@ function AddMember(): JSX.Element {
</Dropdown.Item>
<Dropdown.Item
id="newUser"
value="newUser"
name="newUser"
data-value="newUser"
data-name="newUser"
data-testid="newUser"
onClick={(): void => {
openCreateNewUserModal();
Expand Down
18 changes: 9 additions & 9 deletions src/screens/OrganizationPeople/OrganizationPeople.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@ function organizationPeople(): JSX.Element {
</Dropdown.Toggle>
<Dropdown.Menu>
<Dropdown.Item
inline
d-inline
id="userslist"
value="userslist"
name="displaylist"
data-value="userslist"
data-name="displaylist"
data-testid="users"
defaultChecked={state == 2 ? true : false}
onClick={(): void => {
Expand All @@ -328,10 +328,10 @@ function organizationPeople(): JSX.Element {
</Form.Label>
</Dropdown.Item>
<Dropdown.Item
inline
d-inline
id="memberslist"
value="memberslist"
name="displaylist"
data-value="memberslist"
data-name="displaylist"
data-testid="members"
defaultChecked={state == 0 ? true : false}
onClick={(): void => {
Expand All @@ -341,10 +341,10 @@ function organizationPeople(): JSX.Element {
<label htmlFor="memberslist">{tCommon('members')}</label>
</Dropdown.Item>
<Dropdown.Item
inline
d-inline
id="adminslist"
value="adminslist"
name="displaylist"
data-value="adminslist"
data-name="displaylist"
data-testid="admins"
defaultChecked={state == 1 ? true : false}
onClick={(): void => {
Expand Down

0 comments on commit 988564b

Please sign in to comment.