Skip to content

Commit

Permalink
compile error fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kurund committed Oct 5, 2022
1 parent 12d76de commit f577f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ import { setNotification } from 'common/notification';
import { listIcon } from '../SuperAdminContactManagement/SuperAdminContactManagement';
import styles from './AdminContactManagement.module.css';

export interface AdminContactManagementProps {}

export const AdminContactManagement: React.SFC<AdminContactManagementProps> = () => {
export const AdminContactManagement = () => {
const [fileName, setFileName] = useState<string>('');
const [errors, setErrors] = useState<any>([]);
const [csvContent, setCsvContent] = useState<String | null | ArrayBuffer>('');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ import { List } from 'containers/List/List';
import styles from './SuperAdminContactManagement.module.css';
import UploadContactsDialog from '../UploadContactsDialog/UploadContactsDialog';

export interface SuperAdminContactManagementProps {}

const queries = {
countQuery: GET_ORGANIZATION_COUNT,
filterItemsQuery: FILTER_ORGANIZATIONS,
Expand All @@ -21,7 +19,7 @@ const queries = {
export const listIcon = <CollectionIcon className={styles.OrgIcon} />;
const extensionIcon = <UploadIcon className={styles.UploadIcon} />;

export const SuperAdminContactManagement: React.SFC<SuperAdminContactManagementProps> = () => {
export const SuperAdminContactManagement = () => {
const { t } = useTranslation();

const [showUploadDialog, setShowUploadDialog] = useState(false);
Expand Down

0 comments on commit f577f80

Please sign in to comment.