We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc427e commit 53730e1Copy full SHA for 53730e1
showcases/patternhub/pages/iframe/index.tsx
@@ -2,13 +2,13 @@
2
import { Buffer } from 'buffer';
3
import { useRouter } from 'next/router';
4
import ComponentParser from '../../components/component-parser';
5
-import { COLORS } from '../../../components/src/shared/constants';
+import { COLOR } from '../../components/src/shared/constants';
6
7
const IframeComponent = () => {
8
const router = useRouter();
9
10
const tonality = router.query.tonality ?? 'regular';
11
- const color = router.query.color ?? COLORS.BASE_BG_1;
+ const color = router.query.color ?? COLOR.BASE_BG_1;
12
13
const componentsString: string = (router.query.components as string) ?? '';
14
const componentsBuffer = Buffer.from(componentsString, 'base64');
0 commit comments