Skip to content

Commit dca606d

Browse files
Copilothotlong
andcommitted
Fix MDX syntax - add missing children property before arrays
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 0902755 commit dca606d

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

content/docs/blocks/dashboard.mdx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,8 @@ Display recent user activities or transactions.
292292
},
293293
{
294294
type: "stack",
295-
spacing: 2, [
295+
spacing: 2,
296+
children: [
296297
{
297298
type: "text",
298299
content: "Olivia Martin",
@@ -329,7 +330,8 @@ Display recent user activities or transactions.
329330
},
330331
{
331332
type: "stack",
332-
spacing: 2, [
333+
spacing: 2,
334+
children: [
333335
{
334336
type: "text",
335337
content: "Jackson Lee",
@@ -366,7 +368,8 @@ Display recent user activities or transactions.
366368
},
367369
{
368370
type: "stack",
369-
spacing: 2, [
371+
spacing: 2,
372+
children: [
370373
{
371374
type: "text",
372375
content: "Isabella Nguyen",
@@ -403,7 +406,8 @@ Display recent user activities or transactions.
403406
},
404407
{
405408
type: "stack",
406-
spacing: 2, [
409+
spacing: 2,
410+
children: [
407411
{
408412
type: "text",
409413
content: "William Kim",
@@ -440,7 +444,8 @@ Display recent user activities or transactions.
440444
},
441445
{
442446
type: "stack",
443-
spacing: 2, [
447+
spacing: 2,
448+
children: [
444449
{
445450
type: "text",
446451
content: "Sofia Davis",

content/docs/blocks/marketing.mdx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ Responsive pricing table with three tiers.
5050
children: [
5151
{
5252
type: "stack",
53-
spacing: 2, [
53+
spacing: 2,
54+
children: [
5455
{
5556
type: "text",
5657
content: "Starter",
@@ -156,7 +157,8 @@ Responsive pricing table with three tiers.
156157
children: [
157158
{
158159
type: "stack",
159-
spacing: 2, [
160+
spacing: 2,
161+
children: [
160162
{
161163
type: "flex",
162164
className: "items-center justify-between mb-1",
@@ -289,7 +291,8 @@ Responsive pricing table with three tiers.
289291
children: [
290292
{
291293
type: "stack",
292-
spacing: 2, [
294+
spacing: 2,
295+
children: [
293296
{
294297
type: "text",
295298
content: "Enterprise",
@@ -822,7 +825,8 @@ Customer testimonials and social proof.
822825
},
823826
{
824827
type: "stack",
825-
spacing: 2, [
828+
spacing: 2,
829+
children: [
826830
{
827831
type: "text",
828832
content: "John Doe",
@@ -895,7 +899,8 @@ Customer testimonials and social proof.
895899
},
896900
{
897901
type: "stack",
898-
spacing: 2, [
902+
spacing: 2,
903+
children: [
899904
{
900905
type: "text",
901906
content: "Jane Smith",
@@ -968,7 +973,8 @@ Customer testimonials and social proof.
968973
},
969974
{
970975
type: "stack",
971-
spacing: 2, [
976+
spacing: 2,
977+
children: [
972978
{
973979
type: "text",
974980
content: "Mike Johnson",

0 commit comments

Comments
 (0)