Skip to content

Commit 31ef2a5

Browse files
committed
feat: Refactor import paths in EmptyStateCard and style.tsx
Signed-off-by: Amit Amrutiya <amitamrutiya2210@gmail.com>
1 parent 680a777 commit 31ef2a5

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/custom/CustomCatalog/EmptyStateCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FC } from 'react';
2-
import { EmptyStyleIcon } from '../../icons/EmptyStyle';
2+
import { EmptyStyleIcon } from '../../icons';
33
import { useTheme } from '../../theme';
44
import { CatalogEmptyStateDiv } from './style';
55

src/custom/CustomCatalog/style.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ export const CardBack = styled('div')<CatalogProps>(({ isCatalog }) => ({
349349
}));
350350

351351
const getBackground = (isLightMode: boolean) => {
352-
const lightGradient = `linear-gradient(to left bottom, ${WHITESMOKE}, ${GRAY97},white, white, white, white, white, white, white,white, $, ${WHITESMOKE}, ${GRAY97})`;
352+
const lightGradient = `linear-gradient(to left bottom, ${WHITESMOKE}, ${GRAY97},white, white, white, white, white, white, white, white, ${WHITESMOKE}, ${GRAY97})`;
353353
const darkGradient = `linear-gradient(to right top, ${DARK_PRIMARY_COLOR}, ${accentGrey[30]}, ${accentGrey[20]}, ${accentGrey[10]}, ${accentGrey[10]}, ${accentGrey[10]}, ${accentGrey[10]}, ${accentGrey[10]}, ${accentGrey[10]}, ${charcoal[20]}, ${charcoal[10]}, black)`;
354354

355355
return isLightMode ? lightGradient : darkGradient;

src/icons/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export * from './Design';
4545
export * from './Done';
4646
export * from './Download';
4747
export * from './Edit';
48+
export * from './EmptyStyle';
4849
export * from './Environment';
4950
export * from './ExternalLink';
5051
export * from './Feedback';

0 commit comments

Comments
 (0)