Skip to content

Commit

Permalink
EPMRPP-91927 || Code review fixes - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
iso9000t committed Dec 23, 2024
1 parent 4303b31 commit aebb941
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,10 @@ export const AllUsersHeader = ({ onInvite }) => {
};

AllUsersHeader.propTypes = {
isLoading: PropTypes.bool.isRequired,
searchValue: PropTypes.string,
setSearchValue: PropTypes.func.isRequired,
onExport: PropTypes.func,
onInvite: PropTypes.func,
};

AllUsersHeader.defaultProps = {
searchValue: '',
onExport: () => {},
onInvite: () => {},
};
16 changes: 16 additions & 0 deletions app/src/pages/instance/allUsersPage/allUsersPage.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2024 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

import React, { useState } from 'react';
import { useSelector } from 'react-redux';
import { useIntl, defineMessages } from 'react-intl';
Expand Down
24 changes: 16 additions & 8 deletions app/src/pages/instance/allUsersPage/allUsersPage.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
/*
* Copyright 2024 EPAM Systems
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

.all-users-page {
display: flex;
flex-direction: column;
min-height: 100%;
}
/*
.loader {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
*/

0 comments on commit aebb941

Please sign in to comment.