Skip to content

Commit

Permalink
== to ===
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblurie29 committed Sep 12, 2023
1 parent 28f043d commit a32639a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Organizer/ApplicantsTab/ApplicantsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export const ApplicantsTab = () => {
{ text: 'Checked In', value: ApplicationStatus.CHECKED_IN },
],
filteredValue: filteredInfo.applicationStatus || null,
onFilter: (value: string | number | boolean, record: any): boolean => record.applicationStatus == value,
onFilter: (value: string | number | boolean, record: any): boolean => record.applicationStatus === value,
render: (applicationStatus: ApplicationStatus, record: any) => {
const statusName = APPLICATION_STATUSES[applicationStatus as number];
if (statusName === 'Submitted') {
Expand Down
2 changes: 1 addition & 1 deletion components/Organizer/ManageUsersTab/ManageUsersTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ManageUsersTab = () => {
return (
<>
{!userData && <Skeleton />}
{userData && userData.length == 0 && (
{userData && userData.length === 0 && (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description={<span>No users lmao</span>} />
)}
{userData && userData.length > 0 && (
Expand Down
2 changes: 1 addition & 1 deletion components/Organizer/PreAddUsersTab/PreAddUsersTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const PreAddUsersTab = () => {

return (
<>
{preAddData && preAddData.length == 0 && (
{preAddData && preAddData.length === 0 && (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} description={<span>No preadded users lmao</span>} />
)}
{preAddData && preAddData.length > 0 && (
Expand Down

0 comments on commit a32639a

Please sign in to comment.