Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes[MemberDetail] : Refactor CSS files in src/screens/MemberDetail and updated the import file #3373

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/MemberDetail/EventsAttendedMemberModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '@mui/material';
import { Modal } from 'react-bootstrap';
import { useTranslation } from 'react-i18next';
import styles from '../../screens/MemberDetail/MemberDetail.module.css';
import styles from '../../style/app.module.css';
import { CustomTableCell } from './customTableCell';
/**
* Modal component to display paginated list of events attended by a member
Expand Down
4 changes: 1 addition & 3 deletions src/components/MemberDetail/customTableCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useQuery } from '@apollo/client';
import { CircularProgress, TableCell, TableRow } from '@mui/material';
import { EVENT_DETAILS } from 'GraphQl/Queries/Queries';
import React from 'react';
import styles from '../../screens/MemberDetail/MemberDetail.module.css';
import styles from '../../style/app.module.css';
import { Link } from 'react-router-dom';
/**
* Custom table cell component to display event details
Expand All @@ -29,7 +29,6 @@ export const CustomTableCell: React.FC<{ eventId: string }> = ({ eventId }) => {
</TableCell>
</TableRow>
);
/*istanbul ignore next*/
if (error) {
return (
<TableRow data-testid="error-state">
Expand All @@ -40,7 +39,6 @@ export const CustomTableCell: React.FC<{ eventId: string }> = ({ eventId }) => {
);
}
const event = data?.event;
/*istanbul ignore next*/
if (!event) {
return (
<TableRow data-testid="no-event-state">
Expand Down
Loading
Loading