Skip to content

Commit d2ba432

Browse files
authored
Merge pull request #69 from eithe/fix-typos
Fix typos and remove some unused imports
2 parents e2d8ae1 + d0cd54c commit d2ba432

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

src/companies/CompanyCard.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
import * as React from 'react';
22
import { useState } from 'react';
33
import { AvatarGroup, Paper, Typography, Box } from '@mui/material';
4-
import ContactsIcon from '@mui/icons-material/AccountCircle';
54
import DealIcon from '@mui/icons-material/MonetizationOn';
65
import {
76
useCreatePath,
87
SelectField,
98
useRecordContext,
109
Link,
1110
ReferenceManyField,
12-
SingleFieldList,
1311
useListContext,
1412
} from 'react-admin';
1513

src/companies/CompanyEmpty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const CompanyEmpty = () => {
1313
height: `calc(100dvh - ${appbarHeight}px)`,
1414
}}
1515
>
16-
<img src="./img/empty.svg" alt="No contacts found" />
16+
<img src="./img/empty.svg" alt="No companies found" />
1717
<Stack gap={0} alignItems="center">
1818
<Typography variant="h6" fontWeight="bold">
1919
No companies found

src/companies/CompanyShow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const CompanyShowContent = () => {
109109
label={
110110
record.nb_deals === 1
111111
? '1 deal'
112-
: `${record.nb_deals} Deals`
112+
: `${record.nb_deals} deals`
113113
}
114114
path="deals"
115115
>

src/deals/DealEmpty.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const DealEmpty = ({ children }: { children?: React.ReactNode }) => {
3030
height: `calc(100dvh - ${appbarHeight}px)`,
3131
}}
3232
>
33-
<img src="./img/empty.svg" alt="No contacts found" />
33+
<img src="./img/empty.svg" alt="No deals found" />
3434
{contacts && contacts.length > 0 ? (
3535
<>
3636
<Stack gap={0} alignItems="center">

0 commit comments

Comments
 (0)