spelling: avatar

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2023-06-19 01:36:48 -04:00
parent e214b86a62
commit 2c9739ac91
5 changed files with 8 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
// @ts-nocheck // @ts-nocheck
import MODIFIER from './modifiers'; import MODIFIER from './modifiers';
import ContextMenu from './ContextMenu'; import ContextMenu from './ContextMenu';
import AvaterCell from './AvaterCell'; import AvatarCell from './AvatarCell';
export * from './Money/Money'; export * from './Money/Money';
export * from './Dialog'; export * from './Dialog';
@@ -65,4 +65,4 @@ export * from './Postbox';
export * from './AppToaster'; export * from './AppToaster';
export * from './Layout'; export * from './Layout';
export { MODIFIER, ContextMenu, AvaterCell }; export { MODIFIER, ContextMenu, AvatarCell };

View File

@@ -11,7 +11,7 @@ import {
Classes, Classes,
} from '@blueprintjs/core'; } from '@blueprintjs/core';
import { Can, Icon, Money, If, AvaterCell } from '@/components'; import { Can, Icon, Money, If, AvatarCell } from '@/components';
import { CustomerAction, AbilitySubject } from '@/constants/abilityOption'; import { CustomerAction, AbilitySubject } from '@/constants/abilityOption';
import { safeCallback } from '@/utils'; import { safeCallback } from '@/utils';
@@ -121,7 +121,7 @@ export function useCustomersTableColumns() {
{ {
id: 'avatar', id: 'avatar',
Header: '', Header: '',
Cell: AvaterCell, Cell: AvatarCell,
className: 'avatar', className: 'avatar',
width: 45, width: 45,
disableResizing: true, disableResizing: true,

View File

@@ -128,10 +128,10 @@ export function ProjectSuggestField({
} }
const AvatarSelect = ({ text }) => { const AvatarSelect = ({ text }) => {
return <AvaterContent>{firstLettersArgs(text?.name)}</AvaterContent>; return <AvatarContent>{firstLettersArgs(text?.name)}</AvatarContent>;
}; };
const AvaterContent = styled.div` const AvatarContent = styled.div`
display: inline-block; display: inline-block;
background: #adbcc9; background: #adbcc9;
text-align: center; text-align: center;

View File

@@ -13,7 +13,7 @@ import {
Classes, Classes,
} from '@blueprintjs/core'; } from '@blueprintjs/core';
import { Can, Icon, Money, If, AvaterCell } from '@/components'; import { Can, Icon, Money, If, AvatarCell } from '@/components';
import { VendorAction, AbilitySubject } from '@/constants/abilityOption'; import { VendorAction, AbilitySubject } from '@/constants/abilityOption';
import { safeCallback, firstLettersArgs } from '@/utils'; import { safeCallback, firstLettersArgs } from '@/utils';
@@ -144,7 +144,7 @@ export function useVendorsTableColumns() {
{ {
id: 'avatar', id: 'avatar',
Header: '', Header: '',
Cell: AvaterCell, Cell: AvatarCell,
className: 'avatar', className: 'avatar',
width: 45, width: 45,
disableResizing: true, disableResizing: true,