Skip to content

Commit 53730e1

Browse files
committed
fix: issue with wrong import
1 parent 6dc427e commit 53730e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

showcases/patternhub/pages/iframe/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
import { Buffer } from 'buffer';
33
import { useRouter } from 'next/router';
44
import ComponentParser from '../../components/component-parser';
5-
import { COLORS } from '../../../components/src/shared/constants';
5+
import { COLOR } from '../../components/src/shared/constants';
66

77
const IframeComponent = () => {
88
const router = useRouter();
99

1010
const tonality = router.query.tonality ?? 'regular';
11-
const color = router.query.color ?? COLORS.BASE_BG_1;
11+
const color = router.query.color ?? COLOR.BASE_BG_1;
1212

1313
const componentsString: string = (router.query.components as string) ?? '';
1414
const componentsBuffer = Buffer.from(componentsString, 'base64');

0 commit comments

Comments
 (0)