mirror of
https://github.com/lingble/twenty.git
synced 2025-10-30 20:27:55 +00:00
fix background color
This commit is contained in:
@@ -6,7 +6,6 @@ import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';
|
|||||||
import { useRecordChipData } from '@/object-record/hooks/useRecordChipData';
|
import { useRecordChipData } from '@/object-record/hooks/useRecordChipData';
|
||||||
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
|
import { ObjectRecord } from '@/object-record/types/ObjectRecord';
|
||||||
import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2';
|
import { useRecoilComponentValueV2 } from '@/ui/utilities/state/component-state/hooks/useRecoilComponentValueV2';
|
||||||
import { useTheme } from '@emotion/react';
|
|
||||||
import styled from '@emotion/styled';
|
import styled from '@emotion/styled';
|
||||||
import { useRecoilValue } from 'recoil';
|
import { useRecoilValue } from 'recoil';
|
||||||
import { Avatar } from 'twenty-ui';
|
import { Avatar } from 'twenty-ui';
|
||||||
@@ -52,8 +51,6 @@ const CommandMenuContextRecordChipAvatars = ({
|
|||||||
record,
|
record,
|
||||||
});
|
});
|
||||||
|
|
||||||
const theme = useTheme();
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledAvatarWrapper>
|
<StyledAvatarWrapper>
|
||||||
<Avatar
|
<Avatar
|
||||||
@@ -62,7 +59,6 @@ const CommandMenuContextRecordChipAvatars = ({
|
|||||||
placeholder={recordChipData.name}
|
placeholder={recordChipData.name}
|
||||||
size="sm"
|
size="sm"
|
||||||
type="squared"
|
type="squared"
|
||||||
backgroundColor={theme.background.primary}
|
|
||||||
/>
|
/>
|
||||||
</StyledAvatarWrapper>
|
</StyledAvatarWrapper>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user